[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <31272e07-a7d6-499d-f1c1-caa2d50e0fb8@gmail.com>
Date: Tue, 27 Feb 2018 09:37:23 -0700
From: David Ahern <dsahern@...il.com>
To: Ido Schimmel <idosch@...lanox.com>, netdev@...r.kernel.org
Cc: davem@...emloft.net, jiri@...lanox.com, mlxsw@...lanox.com
Subject: Re: [PATCH net-next] team: Use extack to report enslavement failures
On 2/27/18 8:38 AM, Ido Schimmel wrote:
> Use extack inside team's enslavement function and also propagate it to
> the netdevice notifier to allow enslaved ports to report the failure
> reason. Example:
>
> $ teamd -t team0 -d -c '{"runner": {"name": "lacp"}}'
> $ ip link set dev lo master team0
> Error: Loopback device can't be added as a team port.
>
> Signed-off-by: Ido Schimmel <idosch@...lanox.com>
> Acked-by: Jiri Pirko <jiri@...lanox.com>
> ---
> drivers/net/team/team.c | 16 +++++++++++-----
> 1 file changed, 11 insertions(+), 5 deletions(-)
>
LGTM. Acked-by: David Ahern <dsahern@...il.com>
Powered by blists - more mailing lists