summaryrefslogtreecommitdiff
path: root/include/linux/sfp.h
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2018-02-27 17:38:08 +0200
committerDavid S. Miller <davem@davemloft.net>2018-02-28 11:01:30 -0500
commit44d15d930bb8463d10b05bbed45e881e5055495a (patch)
treec084589f3bc34566e98711b66b8dbe168ee2fe19 /include/linux/sfp.h
parentfb66cb0775609852b812c9bc2bd1589374317410 (diff)
team: Use extack to report enslavement failures
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@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Acked-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/sfp.h')
0 files changed, 0 insertions, 0 deletions