diff options
author | Ido Schimmel <[email protected]> | 2023-04-19 18:34:52 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-04-21 08:25:49 +0100 |
commit | 013a7ce81dd8a5bba31f802053829d91f9a43a8f (patch) | |
tree | 2d65b70aa1c73c3aef3107cc5fe8c020ccc70c48 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 1cf3fe1c3726ac2e7aa47407321c484a468feb94 (diff) |
bridge: Reorder neighbor suppression check when flooding
The bridge does not flood ARP / NS packets for which a reply was sent to
bridge ports that have neighbor suppression enabled.
Subsequent patches are going to add per-{Port, VLAN} neighbor
suppression, which is going to make it more expensive to check whether
neighbor suppression is enabled since a VLAN lookup will be required.
Therefore, instead of unnecessarily performing this lookup for every
packet, only perform it for ARP / NS packets for which a reply was sent.
Signed-off-by: Ido Schimmel <[email protected]>
Acked-by: Nikolay Aleksandrov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions