Skip to content

nexthop: Small changes

Ido Schimmel netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5nexthop: Remove unused function declaration from header fileinclude/net/nexthop.h+0 -30 replies
2/5nexthop: Remove NEXTHOP_EVENT_ADDinclude/net/nexthop.h+0 -10 replies
3/5nexthop: Convert to blocking notification chaininclude/net/netns/nexthop.h net/ipv4/nexthop.c+8 -70 replies
4/5nexthop: Only emit a notification when nexthop is actually deletednet/ipv4/nexthop.c+2 -20 replies
5/5selftests: fib_nexthops: Test cleanup of FDB entries following nexthop deletiontools/testing/selftests/net/fib_nexthops.sh+14 -00 replies

Reviews trailers per patch

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

PatchDavid Ahern
1/5R-b
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 v1 thread

Cover letter [PATCH net-next 0/5] nexthop: Small changes

From: Ido Schimmel <[email protected]>

This patch set contains a few small changes that I split out of the RFC I sent last week [1]. Main change is the conversion of the nexthop notification chain to a blocking chain so that it could be reused by device drivers for nexthop objects programming in the future.

Tested with fib_nexthops.sh:

Tests passed: 164
Tests failed: 0

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

Ido Schimmel (5):
nexthop: Remove unused function declaration from header file
nexthop: Remove NEXTHOP_EVENT_ADD
nexthop: Convert to blocking notification chain
nexthop: Only emit a notification when nexthop is actually deleted
selftests: fib_nexthops: Test cleanup of FDB entries following nexthop
deletion

 include/net/netns/nexthop.h                 |  2 +-
 include/net/nexthop.h                       |  4 ----
 net/ipv4/nexthop.c                          | 17 +++++++++--------
 tools/testing/selftests/net/fib_nexthops.sh | 14 ++++++++++++++
 4 files changed, 24 insertions(+), 13 deletions(-)
Signature · 1 line
2.26.2