diff options
author | Ido Schimmel <idosch@mellanox.com> | 2017-02-08 11:16:29 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-08 15:25:15 -0500 |
commit | e9ad5e7d8d3cf55ceb204b0f7a26c89bfd4b41fe (patch) | |
tree | 8b42a9a04d40fdf9a3ac8409698531fd4fd2781a /include/dt-bindings/reset/tegra124-car.h | |
parent | e58be79e2dc818b0e2b3c69ea3d3fefcbc8c709b (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 (limited to 'include/dt-bindings/reset/tegra124-car.h')
0 files changed, 0 insertions, 0 deletions