[PATCH net-next internal 0/2] mlxsw: Reject unsupported FIB configurations
idosch at mellanox.com
Wed Apr 25 00:17:42 AEST 2018
Recently it became possible for listeners of the FIB notification chain
to veto operations such as addition of routes and rules.
Adjust the mlxsw driver to take advantage of it and return an error for
unsupported FIB rules and for routes configured after the abort
mechanism was triggered (due to exceeded resources for example).
Ido Schimmel (2):
mlxsw: spectrum_router: Return an error for non-default FIB rules
mlxsw: spectrum_router: Return an error for routes added after abort
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
More information about the Linux-mlxsw