Skip to content

nexthop: sysctl to skip route notifications on nexthop changes

Roopa Prabhu netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ipv4: add sysctl to skip route notify on nexthop changesinclude/net/netns/ipv4.h net/ipv4/af_inet.c net/ipv4/nexthop.c +1 more+12 -10 replies
2/2ipv6: add sysctl to skip route notify on nexthop changesinclude/net/netns/ipv6.h net/ipv6/route.c+15 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH net-next 0/2] nexthop: sysctl to skip route notifications on nexthop changes

From: Roopa Prabhu <[email protected]>

Route notifications on nexthop changes exists for backward compatibility. In systems which have moved to the new nexthop API, these route update notifications cancel the performance benefits provided by the new nexthop API. This patch adds a sysctl to disable these route notifications

We have discussed this before. Maybe its time ?

Roopa Prabhu (2):
ipv4: add sysctl to skip route notify on nexthop changes
ipv6: add sysctl to skip route notify on nexthop changes

 include/net/netns/ipv4.h   |  2 ++
 include/net/netns/ipv6.h   |  1 +
 net/ipv4/af_inet.c         |  1 +
 net/ipv4/nexthop.c         |  3 ++-
 net/ipv4/sysctl_net_ipv4.c |  7 +++++++
 net/ipv6/route.c           | 14 ++++++++++++++
 6 files changed, 27 insertions(+), 1 deletion(-)
Signature · 1 line
2.1.4