netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] nexthop: sysctl to skip route notifications on nexthop changes
@ 2020-04-23  5:21 Roopa Prabhu
  2020-04-23  5:21 ` [PATCH net-next 1/2] ipv4: add sysctl to skip route notify " Roopa Prabhu
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Roopa Prabhu @ 2020-04-23  5:21 UTC (permalink / raw)
  To: dsahern, davem; +Cc: netdev, nikolay, bpoirier

From: Roopa Prabhu <roopa@cumulusnetworks.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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-04-23 19:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-23  5:21 [PATCH net-next 0/2] nexthop: sysctl to skip route notifications on nexthop changes Roopa Prabhu
2020-04-23  5:21 ` [PATCH net-next 1/2] ipv4: add sysctl to skip route notify " Roopa Prabhu
2020-04-23  5:21 ` [PATCH net-next 2/2] ipv6: " Roopa Prabhu
     [not found] ` <CAJieiUgHMjVozdSE_DM1yDnGuUEXkamDgmKwUfdBbvhTdx3Eqg@mail.gmail.com>
2020-04-23 15:09   ` [PATCH net-next 0/2] nexthop: sysctl to skip route notifications " David Ahern
2020-04-23 19:46     ` Roopa Prabhu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).