summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNikolay Aleksandrov <razor@blackwall.org>2026-09-18 18:29:50 +0300
committerJakub Kicinski <kuba@kernel.org>2026-09-21 17:41:33 -0700
commitfee4e7663e5cdc19bfe1d26f0651f2f9e04922d7 (patch)
tree3dd0597f8a61fdab74bea7f309df1765c4a494f7 /include
parent4e0c8f54f605f68af7ff470c23c834e4f45d737d (diff)
net: bridge: avoid VLAN lookups for flood neighbour suppression
We can remove more unnecessary VLAN lookups if we pass the port-VLAN entry to the neighbour suppression helpers so they can use it directly instead of resolving it again. Use a vid wrapper for callers which don't have the port-VLAN entry. This removes up to two additional VLAN hash lookups per flooded egress port for packets marked as proxy replied. Signed-off-by: Nikolay Aleksandrov <razor@blackwall.org> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Link: https://patch.msgid.link/20260918152950.1938259-10-razor@blackwall.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions