All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] nexthop: Support large scale nexthop flushing
@ 2021-04-16 15:55 Ido Schimmel
  2021-04-16 15:55 ` [PATCH net-next 1/2] nexthop: Restart nexthop dump based on last dumped nexthop identifier Ido Schimmel
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Ido Schimmel @ 2021-04-16 15:55 UTC (permalink / raw)
  To: netdev; +Cc: davem, kuba, dsahern, petrm, mlxsw, Ido Schimmel

From: Ido Schimmel <idosch@nvidia.com>

Patch #1 fixes a day-one bug in the nexthop code and allows "ip nexthop
flush" to work correctly with large number of nexthops that do not fit
in a single-part dump.

Patch #2 adds a test case.

Targeting at net-next since this use case never worked, the flow is
pretty obscure and such a large number of nexthops is unlikely to be
used in any real-world scenario.

Tested with fib_nexthops.sh:

Tests passed: 219
Tests failed:   0

Ido Schimmel (2):
  nexthop: Restart nexthop dump based on last dumped nexthop identifier
  selftests: fib_nexthops: Test large scale nexthop flushing

 net/ipv4/nexthop.c                          | 14 ++++++--------
 tools/testing/selftests/net/fib_nexthops.sh | 15 +++++++++++++++
 2 files changed, 21 insertions(+), 8 deletions(-)

-- 
2.30.2


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

end of thread, other threads:[~2021-04-19 22:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-16 15:55 [PATCH net-next 0/2] nexthop: Support large scale nexthop flushing Ido Schimmel
2021-04-16 15:55 ` [PATCH net-next 1/2] nexthop: Restart nexthop dump based on last dumped nexthop identifier Ido Schimmel
2021-04-18 17:06   ` David Ahern
2021-04-19  5:48     ` Ido Schimmel
2021-04-16 15:55 ` [PATCH net-next 2/2] selftests: fib_nexthops: Test large scale nexthop flushing Ido Schimmel
2021-04-18 17:07   ` David Ahern
2021-04-19 22:30 ` [PATCH net-next 0/2] nexthop: Support " patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.