commit | f8fa9b4e6da77311791c7150a6ecc9368396df3b | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@gmail.com> | Wed Oct 18 09:56:56 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Oct 20 13:15:07 2017 +0100 |
tree | 7c80b14c401727fd76a0cd1b4739c1ddb6d30756 | |
parent | 89d5dd2efdb26c78ab83be59390386cc21f8dd71 [diff] |
mlxsw: spectrum_router: Add extack message for RIF and VRF overflow Add extack argument down to mlxsw_sp_rif_create and mlxsw_sp_vr_create to set an error message on RIF or VR overflow. Now on overflow of either resource the user gets an informative message as opposed to failing with EBUSY. Signed-off-by: David Ahern <dsahern@gmail.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>