summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/dec/tulip/de4x5.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-09-21 03:03:13 +0200
committerDavid S. Miller <davem@davemloft.net>2017-09-21 03:03:13 +0200
commit908a23efb76eed04f5b5173ecf09b6cbd05d886b (patch)
treeca6f615c753f08045cd11d5cece24d00e9741a25 /drivers/net/ethernet/dec/tulip/de4x5.c
parentcxgb4: add new T5 pci device id's (diff)
parentmlxsw: spectrum_switchdev: Consider mrouter status for mdb changes (diff)
downloadlinux-908a23efb76eed04f5b5173ecf09b6cbd05d886b.tar.xz
linux-908a23efb76eed04f5b5173ecf09b6cbd05d886b.zip
Merge branch 'mlxsw-Multicast-flood-update'
Jiri Pirko says: ==================== mlxsw: Multicast flood update Nogah says: Currently, there are four erroneous flows in MC flood: 1. When MC is disabled it affects only the flood table for unregistered MC packets, but packets that match an entry in the MDB are unaffected. 2. When MC is disabled, MC packets are being sent to all the ports in the bridge (like BC and link-local MC packets) regardless of the designated flag (BR_MCAST_FLAG). 3. When a port is being deleted from a bridge it might remain in the MDB. 4. When MC is enabled packets are flooded to the mrouter ports only if they don't match any entry in the MDB, when they should always be flooded to them. What these problems have in common is the discrepancy between how the hardware handles MDB and mcast flood, and how the driver does it. Each of these problems needs fixing either in the MDB code, or in mcast flood code, and some in both. Patches 1-6 change the way the MDB is handled in the driver to make the following changes easier. Patches 7-8 fix problem number 1 by removing the MDB from the HW when MC is being disabled and restoring it when it is being enabled. Patches 9-10 fix problem number 2 by offloading the flood table by the appropriate flag. Patch 11 fixes problem number 3 by adding MDB flush to the port removal. Patches 12-14 fix problem number 4 by adding the mrouter ports to every MDB entry in the HW to mimic the wanted behaviour. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/dec/tulip/de4x5.c')
0 files changed, 0 insertions, 0 deletions