diff options
author | DENG Qingfang <dqfext@gmail.com> | 2021-03-16 01:09:40 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-16 11:54:41 -0700 |
commit | 5a30833b9a16f8d1aa15de06636f9317ca51f9df (patch) | |
tree | ec3142603617da0e06d93f04fe01c19b7652723f /drivers/net/dsa/mt7530.h | |
parent | 4b9068b74127f33469429b9c0aee984091897cfd (diff) | |
download | linux-5a30833b9a16f8d1aa15de06636f9317ca51f9df.tar.gz linux-5a30833b9a16f8d1aa15de06636f9317ca51f9df.tar.bz2 linux-5a30833b9a16f8d1aa15de06636f9317ca51f9df.zip |
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>
Diffstat (limited to 'drivers/net/dsa/mt7530.h')
-rw-r--r-- | drivers/net/dsa/mt7530.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/mt7530.h b/drivers/net/dsa/mt7530.h index 64a9bb377e15..ec36ea5dfd57 100644 --- a/drivers/net/dsa/mt7530.h +++ b/drivers/net/dsa/mt7530.h @@ -34,6 +34,7 @@ enum mt753x_id { /* Registers to mac forward control for unknown frames */ #define MT7530_MFC 0x10 #define BC_FFP(x) (((x) & 0xff) << 24) +#define BC_FFP_MASK BC_FFP(~0) #define UNM_FFP(x) (((x) & 0xff) << 16) #define UNM_FFP_MASK UNM_FFP(~0) #define UNU_FFP(x) (((x) & 0xff) << 8) |