diff options
| author | Nikolay Aleksandrov <razor@blackwall.org> | 2026-09-18 18:29:47 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-09-21 17:41:32 -0700 |
| commit | 9c30ccaa7327f865128bc7977705003c0bf2f643 (patch) | |
| tree | 7d40b06a12512274ad83499ee95a56ef524548db /include/linux/debugobjects.h | |
| parent | d5219589e4cfb9954d97b1e9b928e5a72dbb82ea (diff) | |
net: bridge: vlan: use an RCU array for large flood sets
Walking the master VLAN's port-VLAN list avoids considering ports outside
the VLAN but its pointer chasing becomes more expensive than array when
many ports participate. Add an rcu array of port-VLAN pointers for larger
flood sets. Rebuild and publish the array under RTNL when VLAN membership
changes. Continue using the list for small flood sets and as a fallback
if the array allocation fails.
Signed-off-by: Nikolay Aleksandrov <razor@blackwall.org>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://patch.msgid.link/20260918152950.1938259-7-razor@blackwall.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
