aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2019-07-23 07:57:42 +0000
committerDavid S. Miller <[email protected]>2019-07-25 18:36:19 +0000
commitfc25996e6f46ac05378f45691d9c6ea08c2037b9 (patch)
treeaa0257a7826621bb3046d74a581897f7d018bdf7 /net/tipc
parentmlxsw: spectrum: Expose KVD size for Spectrum-2 (diff)
downloadkernel-fc25996e6f46ac05378f45691d9c6ea08c2037b9.tar.gz
kernel-fc25996e6f46ac05378f45691d9c6ea08c2037b9.zip
mlxsw: spectrum_router: Increase scale of IPv6 nexthop groups
Unlike IPv4, the kernel does not consolidate IPv6 nexthop groups. To avoid exhausting the device's adjacency table - where nexthops are stored - the driver does this consolidation instead. Each nexthop group is hashed by XOR-ing the interface indexes of all the member nexthop devices. However, the ifindex itself is not hashed, which can result in identical keys used for different groups and finally an -EBUSY error from rhashtable due to too long objects list. Improve the situation by hashing the ifindex itself. Signed-off-by: Ido Schimmel <[email protected]> Acked-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions