[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1587619280-46386-1-git-send-email-roopa@cumulusnetworks.com>
Date: Wed, 22 Apr 2020 22:21:18 -0700
From: Roopa Prabhu <roopa@...ulusnetworks.com>
To: dsahern@...il.com, davem@...emloft.net
Cc: netdev@...r.kernel.org, nikolay@...ulusnetworks.com,
bpoirier@...ulusnetworks.com
Subject: [PATCH net-next 0/2] nexthop: sysctl to skip route notifications on nexthop changes
From: Roopa Prabhu <roopa@...ulusnetworks.com>
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(-)
--
2.1.4
Powered by blists - more mailing lists