All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/2] mlxsw: Reject unsupported FIB configurations
@ 2018-05-02  7:17 Ido Schimmel
  2018-05-02  7:17 ` [PATCH net-next v2 1/2] mlxsw: spectrum_router: Return an error for non-default FIB rules Ido Schimmel
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Ido Schimmel @ 2018-05-02  7:17 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).

v2:
* Change error code in first patch to -EOPNOTSUPP (David Ahern).

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

 .../net/ethernet/mellanox/mlxsw/spectrum_router.c   | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

-- 
2.14.3

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

end of thread, other threads:[~2018-05-02 17:17 UTC | newest]

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.