OSDN Git Service

net: dsa: mt7530: support MDB and bridge flag operations
authorDENG Qingfang <dqfext@gmail.com>
Mon, 15 Mar 2021 17:09:40 +0000 (01:09 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Mar 2021 18:54:41 +0000 (11:54 -0700)
commit5a30833b9a16f8d1aa15de06636f9317ca51f9df
treeec3142603617da0e06d93f04fe01c19b7652723f
parent4b9068b74127f33469429b9c0aee984091897cfd
net: dsa: mt7530: support MDB and bridge flag operations

Support port MDB and bridge flag operations.

As the hardware can manage multicast forwarding itself, offload_fwd_mark
can be unconditionally set to true.

Signed-off-by: DENG Qingfang <dqfext@gmail.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mt7530.c
drivers/net/dsa/mt7530.h
net/dsa/tag_mtk.c