]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_router: Make mlxsw_sp_router_fib4_del return void and remove warn
authorJiri Pirko <jiri@mellanox.com>
Thu, 20 Oct 2016 14:05:43 +0000 (16:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Oct 2016 15:11:11 +0000 (11:11 -0400)
commit66eda4c75e4ef72e55d910b8ef6b0c96efbb9f33
treed6b149365d5dabd3cf99021ad6eb6ba98396319a
parent45a6c0e06d9bd762b7967a37913248d8da064c13
mlxsw: spectrum_router: Make mlxsw_sp_router_fib4_del return void and remove warn

The function return value is not checked anywhere. Also, the warning
causes huge slowdown when removing large number of FIB entries which
were not offloaded, because of ordering issue. Ido's preparing
a patchset to fix the ordering issue, but that is definitelly not
net tree material.

Fixes: d3a93b4c07d9 ("mlxsw: spectrum_router: Use FIB notifications instead of switchdev calls")
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