summaryrefslogtreecommitdiff
path: root/contrib/webcscope/CVS/Entries.Old
blob: 74047ada6097a000817dced64b16e9e01eed648c (plain)
1
2
3
4
5
6
7
/INSTALL/1.1/Fri Jun 29 14:20:16 2001//
/LICENSE/1.1/Fri Jun 29 14:20:16 2001//
/TODO/1.1/Fri Jun 29 14:20:16 2001//
/cgi-lib.pl/1.1/Fri Jun 29 14:20:16 2001//
/cscope/1.1/Fri Jun 29 14:20:16 2001//
/hilite.c/1.1/Fri Jun 29 14:20:16 2001//
D/icons////
> (patch) tree8b42a9a04d40fdf9a3ac8409698531fd4fd2781a parente58be79e2dc818b0e2b3c69ea3d3fefcbc8c709b (diff)
mlxsw: spectrum_router: Store nexthop groups in a hash table
Currently, when we're notified about a new RTN_UNICAST route we perform a lookup on the nexthop group list looking for a group with a matching configuration to that found in the FIB info. This is quite inefficient. Instead, we can simply rely on the kernel to consolidate several FIB configurations into the same FIB info and use the FIB info as the key for our private nexthop group struct. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat
-rw-r--r--drivers/net/ethernet/mellanox/mlxsw/spectrum.h2
-rw-r--r--drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c104
2 files changed, 54 insertions, 52 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum.h b/drivers/net/ethernet/mellanox/mlxsw/spectrum.h