]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_router: Prepare nexthop group's hash table for IPv6
authorArkadi Sharshevsky <arkadis@mellanox.com>
Mon, 14 Aug 2017 19:09:19 +0000 (21:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Aug 2017 05:23:32 +0000 (22:23 -0700)
commitc527eabbc8f3bbff212a8201a053842f9794a62d
tree88f3dc071db3b8361bc3168df3e940ae6a9880e7
parentfe603bdfc6a46f0e6e924d6ce57e1417020b182f
mlxsw: spectrum_router: Prepare nexthop group's hash table for IPv6

This patch does preparation before introducing IPv6 nexthop group
consolidation. Currently the nexthop group hash table is used only by
IPv4 and uses fixed key size. In order to support the IPv6's variable
length key the current table is changed.

Signed-off-by: Arkadi Sharshevsky <arkadis@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c