[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180605055647.GA24986@splinter.mtl.com>
Date: Tue, 5 Jun 2018 08:56:47 +0300
From: Ido Schimmel <idosch@...sch.org>
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 net-next 3/3] mlxsw: Add extack messages for
port_{un,}split failures
On Mon, Jun 04, 2018 at 03:15:03PM -0700, 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>
Thanks!
Powered by blists - more mailing lists