Skip to content

net: bridge: fwd optimization cleanups

Nikolay Aleksandrov bridge netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyApplied 6/6

Patches in v1 All 6 applied

#Subject and filesSizeRepliesApplied
1/6net: bridge: rename dst to fwd in br_flood_vlannet/bridge/br_forward.c+7 -70 repliesApplied
2/6net: bridge: fdb: update the comment for br_fdb_cleanup_by_dstnet/bridge/br_fdb.c+5 -30 repliesApplied
3/6net: bridge: vlan: share VLAN validation in br_should_learnnet/bridge/br_vlan.c+7 -120 repliesApplied
4/6net: bridge: vlan: inline pvid pointer updatesnet/bridge/br_vlan.c+9 -240 repliesApplied
5/6net: bridge: fdb: factor out configured entry destination updatesnet/bridge/br_fdb.c+18 -160 repliesApplied
6/6net: bridge: fdb: use the entry key in __fdb_updatenet/bridge/br_fdb.c+5 -40 repliesApplied

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchIdo Schimmel
SeriesR-b
1/6
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/6] net: bridge: fwd optimization cleanups

Hi,
This patch-set takes care of the review comments and also does some additional cleanups after the recent forwarding optimizations. The first patch and the fourth take care of Ido's comments[1]. I have folded his suggestion with inlining the pvid helpers which aren't necessary anymore. The second patch takes care of Sashiko's comment[2]. The rest are additional cleanups. No functional changes intended by any of these. For more information please check their commit messages.

I do have one more separate patch-set which removes more VLAN lookups, this one is only about following up on comments and minor cleanups.

[1] https://lore.kernel.org/netdev/20260921134458.GA2199421@shredder/
[2] https://lore.kernel.org/netdev/[email protected]/

Thanks,
Nik

Nikolay Aleksandrov (6):
net: bridge: rename dst to fwd in br_flood_vlan
net: bridge: fdb: update the comment for br_fdb_cleanup_by_dst
net: bridge: vlan: share VLAN validation in br_should_learn
net: bridge: vlan: inline pvid pointer updates
net: bridge: fdb: factor out configured entry destination updates
net: bridge: fdb: use the entry key in __fdb_update

 net/bridge/br_fdb.c     | 51 ++++++++++++++++++++++------------------
 net/bridge/br_forward.c | 14 +++++------
 net/bridge/br_vlan.c    | 52 +++++++++++++----------------------------
 3 files changed, 51 insertions(+), 66 deletions(-)
Signature · 1 line
2.47.3