public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] mlxsw: Reject unsupported FIB configurations
@ 2018-05-01  8:16 Ido Schimmel
  2018-05-01  8:16 ` [PATCH net-next 1/2] mlxsw: spectrum_router: Return an error for non-default FIB rules Ido Schimmel
  2018-05-01  8:16 ` [PATCH net-next 2/2] mlxsw: spectrum_router: Return an error for routes added after abort Ido Schimmel
  0 siblings, 2 replies; 5+ messages in thread
From: Ido Schimmel @ 2018-05-01  8:16 UTC (permalink / raw)
  To: netdev; +Cc: davem, jiri, dsahern, mlxsw, Ido Schimmel

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(-)

-- 
2.14.3

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-05-01 15:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-01  8:16 [PATCH net-next 0/2] mlxsw: Reject unsupported FIB configurations Ido Schimmel
2018-05-01  8:16 ` [PATCH net-next 1/2] mlxsw: spectrum_router: Return an error for non-default FIB rules Ido Schimmel
2018-05-01 15:16   ` David Ahern
2018-05-01 15:19     ` Ido Schimmel
2018-05-01  8:16 ` [PATCH net-next 2/2] mlxsw: spectrum_router: Return an error for routes added after abort Ido Schimmel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox