mlxsw: spectrum_router: Optimize LPM trees
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mlxsw: spectrum_router: Use the nodes list as indication for empty FIBdrivers/ | +4 | 0 replies | |
| 2/3 | mlxsw: spectrum_router: Pass FIB node to LPM tree unlink functiondrivers/ | +6 | 0 replies | |
| 3/3 | mlxsw: spectrum_router: Remove unnecessary prefix lengths from LPM treedrivers/ | +125 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch net-next 0/3] mlxsw: spectrum_router: Optimize LPM trees
From: Jiri Pirko <[email protected]>
Ido says:
This set tries to optimize the structure of the LPM trees used for route lookup by avoiding lookups that are guaranteed not to return a result. This is done by making sure only used prefix lengths are present in the tree.
First two patches are small preparatory steps towards the actual change in the last patch.
Ido Schimmel (3):
mlxsw: spectrum_router: Use the nodes list as indication for empty FIB
mlxsw: spectrum_router: Pass FIB node to LPM tree unlink function
mlxsw: spectrum_router: Remove unnecessary prefix lengths from LPM
tree
.../net/ethernet/mellanox/mlxsw/spectrum_router.c | 243 +++++++++++---------- 1 file changed, 132 insertions(+), 111 deletions(-)
Signature · 1 line
2.14.3