]> git.baikalelectronics.ru Git - kernel.git/commit
net: mscc: ocelot: use separate flooding PGID for broadcast
authorVladimir Oltean <vladimir.oltean@nxp.com>
Fri, 12 Feb 2021 15:15:58 +0000 (17:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Feb 2021 01:08:05 +0000 (17:08 -0800)
commit908a11e539bd4420a456554e3d30d78f24aad547
tree342a3d2eeaa75f3304fd85a085d15d2f1d3a2a3a
parente62323d3679a81f7a874c81d1a06a7fc83e4e30a
net: mscc: ocelot: use separate flooding PGID for broadcast

In preparation of offloading the bridge port flags which have
independent settings for unknown multicast and for broadcast, we should
also start reserving one destination Port Group ID for the flooding of
broadcast packets, to allow configuring it individually.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/ocelot/felix.c
drivers/net/ethernet/mscc/ocelot.c
include/soc/mscc/ocelot.h