Skip to content

Add and use neigh_parms_lookup_dev()

Paritosh Potukuchi lkml netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesIn review
  2. v11 patch 2 repliesSuperseded

Changes in v2 from the cover letter

- Convert the previous submission into a patch series
- Add bonding user of neigh_parms_lookup_dev() as requested.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: neighbour: add neigh_parms_lookup_dev() helperinclude/net/neighbour.h net/core/neighbour.c+10 -00 replies
2/2bonding: reuse neigh_setup from slave neigh_parmsdrivers/net/bonding/bond_main.c+9 -14 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] Add and use neigh_parms_lookup_dev()

This series follows up on a previous submission where it was suggested that neigh_parms_lookup_dev() be accompanied by its users.

Patch 1 adds neigh_parms_lookup_dev() to expose per-device neigh_parms lookup outside of the neighbour subsystem.

Patch 2 updates bonding to reuse an existing neigh_setup() callback from the slave's neigh_parms when available, while preserving the existing ndo_neigh_setup() fallback path.

v2:
- Convert the previous submission into a patch series
- Add bonding user of neigh_parms_lookup_dev() as requested.

Previous post's link:
https://lore.kernel.org/netdev/CAAVpQUBf+asQukcRw7sJz6vS2VdeNO5+Q5ucoCxf4JgK25nZ7g@mail.gmail.com/T/#t

Paritosh Potukuchi (2):
net: neighbour: add neigh_parms_lookup_dev() helper
bonding: reuse neigh_setup from slave neigh_parms

 drivers/net/bonding/bond_main.c | 10 +++++++++-
 include/net/neighbour.h         |  2 ++
 net/core/neighbour.c            |  8 ++++++++
 3 files changed, 19 insertions(+), 1 deletion(-)
Signature · 1 line
2.43.0