Re: [RFC net-next 1/2] net: dsa: allow taggers to customise netdev features

From: Florian Fainelli
Date: Thu Aug 26 2021 - 07:28:37 EST

On 8/25/2021 10:38 AM, DENG Qingfang wrote:
Allow taggers to add netdev features, such as VLAN offload, to slave
devices, which will make it possible for taggers to handle VLAN tags

Signed-off-by: DENG Qingfang <dqfext@xxxxxxxxx>

Besides transmit VLAN tag offload, do you think there are other netdev feature bits that would warrant something like this as opposed to a more structured approach with adding a specific boolean/flag that is specific to the netdev feature you want to propagate towards the DSA slave_dev?


Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>