]> 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)
commitb360d94f1b8647bc164e7519ec900471836be14a
tree342a3d2eeaa75f3304fd85a085d15d2f1d3a2a3a
parent6edb9e8d451e7406a38ce7c8f25f357694ef9cdb
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