]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_router: Remove FIB entry list from FIB node
authorIdo Schimmel <idosch@mellanox.com>
Thu, 26 Dec 2019 16:41:17 +0000 (18:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Dec 2019 21:13:22 +0000 (13:13 -0800)
commit26aab588c80bd1c6fd1528a8ff0d972ae3c1f2b4
treef143996f80a751ed9298dc283bedf65dd9cb769a
parentd3ec71bd219ce7eb50674039d91ea2e051b7e169
mlxsw: spectrum_router: Remove FIB entry list from FIB node

As explained in previous patches, the driver no longer needs to maintain
a list of identical FIB entries (i.e, same {tb_id, prefix, prefix
length}) and therefore each FIB node can only store one FIB entry.

Remove the FIB entry list and simplify the code.

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