On Mon, Jun 04, 2018 at 03:15:03PM -0700, dsahern@kernel.org wrote:
From: David Ahern <redacted>
Return messages in extack for port split/unsplit errors. e.g.,
$ devlink port split swp1s1 count 4
Error: mlxsw_spectrum: Port cannot be split further.
devlink answers: Invalid argument
$ devlink port unsplit swp4
Error: mlxsw_spectrum: Port was not split.
devlink answers: Invalid argument
Signed-off-by: David Ahern <redacted>
Reviewed-by: Ido Schimmel <redacted>
Thanks!