OSDN Git Service

mlxsw: spectrum_router: Extend virtual routers with IPv6 support
authorIdo Schimmel <idosch@mellanox.com>
Tue, 18 Jul 2017 08:10:22 +0000 (10:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Jul 2017 18:57:33 +0000 (11:57 -0700)
commita3d9bc506d6434c5557e8d069a611d1e60a2a62e
treefd6424117c3686c8a60ae4437552dfce7f683163
parent731ea1ca429fe7c959522129c526bdda442d7c54
mlxsw: spectrum_router: Extend virtual routers with IPv6 support

A Virtual Router (VR) is an entity which corresponds to a VRF and
performs FIB lookup in an LPM tree according to the {VR, IP Proto} ->
Tree binding.

Extend the virtual router data structure towards IPv6 FIB offload.

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>
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c