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

Florian Fainelli f.fainelli at gmail.com
Thu Aug 26 04:28:29 PDT 2021



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
> themselves.
> 
> Signed-off-by: DENG Qingfang <dqfext at gmail.com>

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?

Still:

Reviewed-by: Florian Fainelli <f.fainelli at gmail.com>
-- 
Florian



More information about the Linux-mediatek mailing list