]> 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)
commit9a49b01a82c87276c8ce28efa9cffd30caa983ac
treed6b149365d5dabd3cf99021ad6eb6ba98396319a
parent7c3286a36ad2a082cb9d59c49139effd7c7ecd10
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: 437869c72d0d ("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