diff options
author | David Ahern <dsahern@gmail.com> | 2018-06-05 17:14:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-05 18:32:38 +0200 |
commit | 3fcc773be62a9c42dc9a5c1108da298fb9f66cfa (patch) | |
tree | 68f577e1164bbf95a81be7bcb7497a0de4e06acd /drivers/media | |
parent | netdevsim: Add extack error message for devlink reload (diff) | |
download | linux-3fcc773be62a9c42dc9a5c1108da298fb9f66cfa.tar.xz linux-3fcc773be62a9c42dc9a5c1108da298fb9f66cfa.zip |
mlxsw: Add extack messages for port_{un, }split failures
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 <dsahern@gmail.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions