From: Jiri Pirko <j...@mellanox.com> 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(-) -- 2.14.3