ipv4: Flush the FIB once on multiple nexthop removal
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 4 repliesApplied 3/3
- v21 patch 4 repliesSuperseded
- v11 patch 1 replySuperseded
V1 -> V2 from the cover letter
- Fixes xmas tree in a couple places (Kuniyuki Iwashima)
- Added __must_check to remove_nexthop_from_groups() (Kuniyuki Iwashima)
Patches in v3 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ipv4: Provide a FIB flushing signal from nexthop removal functionsnet/ | +30 | 1 reply | Applied |
| 2/3 | ipv4: Flush the FIB once on multiple nexthop removalnet/ | +19 | 1 reply | Applied |
| 3/3 | ipv4: Add __must_check to nexthop removal functionsnet/ | +14 | 1 reply | Applied |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Ido Schimmel | David Ahern |
|---|---|---|
| Series | R-b | |
| 1/3 | R-b | |
| 2/3 | R-b | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next v3 0/3] ipv4: Flush the FIB once on multiple nexthop removal
This series optimizes multiple nexthop removal performance from having to do a FIB flush for each nexthop being removed to only doing a single FIB flush after all nexthops are removed.
This dramatically improves performance in scenarios where there are many nexthops and many ipv4 routes. Please see individual patches for more details and for a test scenario.
V2 -> V3: https://lore.kernel.org/netdev/[email protected]/T/#t
- Split the patch into 3 (Ido Schimmel, David Ahern)
- Used WARN_ON_ONCE instead of WARN_ON (Ido Schimmel)
V1 -> V2:
- Fixes xmas tree in a couple places (Kuniyuki Iwashima)
- Added __must_check to remove_nexthop_from_groups() (Kuniyuki Iwashima)
Cosmin Ratiu (3):
ipv4: Provide a FIB flushing signal from nexthop removal functions
ipv4: Flush the FIB once on multiple nexthop removal
ipv4: Add __must_check to nexthop removal functions
net/ipv4/nexthop.c | 88 +++++++++++++++++++++++++++++----------------- 1 file changed, 56 insertions(+), 32 deletions(-)
Signature · 1 line
2.53.0