]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_router: Remove FIB info from FIB entry struct
authorIdo Schimmel <idosch@mellanox.com>
Wed, 8 Feb 2017 10:16:34 +0000 (11:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Feb 2017 20:25:17 +0000 (15:25 -0500)
commitb6acb291d9392703edec1a342c55888fb8c96ce6
treece2b4b7b845f4ed36a5b40b095b3487a9c60bcf7
parent6ee8349eb94d7256bd5d5def8d82e42c3f74c7c5
mlxsw: spectrum_router: Remove FIB info from FIB entry struct

After the previous changes, the FIB info is embedded in every nexthop
group struct, which in turn is embedded in every FIB entry struct.

We can therefore safely remove the FIB info from the entry struct. This
has the added advantage of making the router-related structs more
generic and suitable for use with IPv6 offloads.

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