[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180605151530.GC2117@nanopsycho>
Date: Tue, 5 Jun 2018 17:15:30 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: dsahern@...nel.org
Cc: netdev@...r.kernel.org, idosch@...lanox.com, jiri@...lanox.com,
jakub.kicinski@...ronome.com, David Ahern <dsahern@...il.com>
Subject: Re: [PATCH v2 net-next 3/3] mlxsw: Add extack messages for
port_{un,}split failures
Tue, Jun 05, 2018 at 05:14:11PM CEST, dsahern@...nel.org wrote:
>From: David Ahern <dsahern@...il.com>
>
>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@...il.com>
>Reviewed-by: Ido Schimmel <idosch@...lanox.com>
Acked-by: Jiri Pirko <jiri@...lanox.com>
Powered by blists - more mailing lists