summaryrefslogtreecommitdiff
path: root/tools/perf/Documentation/perf.txt
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2017-02-08 11:16:29 +0100
committerDavid S. Miller <davem@davemloft.net>2017-02-08 15:25:15 -0500
commite9ad5e7d8d3cf55ceb204b0f7a26c89bfd4b41fe (patch)
tree8b42a9a04d40fdf9a3ac8409698531fd4fd2781a /tools/perf/Documentation/perf.txt
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 (limited to 'tools/perf/Documentation/perf.txt')
0 files changed, 0 insertions, 0 deletions