Skip to content

neighbour: Misc follow-ups on per-netns neigh_table series.

Kuniyuki Iwashima netdev 2 versions – 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 · linked by author and title

  1. v2 Latest5 patches 3 repliesApplied 5/5
  2. v14 patches 6 repliesSuperseded

Changes in v2 from the cover letter

* Add patch 5 for neigh_periodic_work()
* Patch 4:
* Update commit message (rephrase 1st and add last sentence)
* Add and use NTBL_PARM_MS_MIN

Patches in v2 All 5 applied

#Subject and filesSizeRepliesApplied
1/5Documentation: networking: switchdev: Replace arp_tbl with arp_table(net).Documentation/networking/switchdev.rst+6 -50 repliesApplied
2/5selftests: netfilter: Set gc_thresh[123] for gw netns in nft_nat_zones.sh.tools/testing/selftests/net/netfilter/nft_nat_zones.sh+8 -260 repliesApplied
3/5neighbour: Schedule neigh_managed_work only when needed.net/core/neighbour.c+17 -51 replyApplied
4/5neighbour: Floor INTERVAL_PROBE_TIME_MS at 1000.Documentation/netlink/specs/rt-neigh.yaml Documentation/networking/ip-sysctl.rst net/core/neighbour.c+5 -41 replyApplied
5/5neighbour: Floor neigh_periodic_work() interval at 1s.net/core/neighbour.c+2 -21 replyApplied

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchIdo Schimmel
1/5
2/5
3/5R-b
4/5R-b
5/5R-b

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

Read the v2 thread

Cover letter [PATCH v2 net-next 0/5] neighbour: Misc follow-ups on per-netns neigh_table series.

Patch 1 updates the switchdev doc, s/arp_tbl/arp_table(net)/.

Patch 2 updates a selftest for per-netns sysctl knobs, though this is not an actual issue since the test does not hit gc_thresh by default.

Patches 3 ~ 5 are based on a suggestion by Ido Schimmel to make neigh_periodic_work() and neigh_managed_work() CPU-friendly:

https://lore.kernel.org/netdev/20260902143023.GA3966681@shredder/

Given it's rc7, I'll defer RTNL removal to the next cycle.

Changes:
v2:
* Add patch 5 for neigh_periodic_work()
* Patch 4:
* Update commit message (rephrase 1st and add last sentence)
* Add and use NTBL_PARM_MS_MIN

v1: https://lore.kernel.org/netdev/[email protected]/

Kuniyuki Iwashima (5):
Documentation: networking: switchdev: Replace arp_tbl with

    arp_table(net).

selftests: netfilter: Set gc_thresh[123] for gw netns in
nft_nat_zones.sh.
neighbour: Schedule neigh_managed_work only when needed.
neighbour: Floor INTERVAL_PROBE_TIME_MS at 1000.
neighbour: Floor neigh_periodic_work() interval at 1s.

 Documentation/netlink/specs/rt-neigh.yaml     |  2 +-
 Documentation/networking/ip-sysctl.rst        |  2 +-
 Documentation/networking/switchdev.rst        | 11 +++---
 net/core/neighbour.c                          | 31 ++++++++++++-----
 .../selftests/net/netfilter/nft_nat_zones.sh  | 34 +++++--------------
 5 files changed, 38 insertions(+), 42 deletions(-)
Signature · 1 line
2.56.0.385.gd3acb90ef8-goog