aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/net/switchdev.h
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2017-10-08 11:57:55 +0200
committerDavid S. Miller <davem@davemloft.net>2017-10-08 10:07:21 -0700
commitc1f2c6d025d365d961dcdf555ecf0f60066f38a3 (patch)
treeb39c0d0bcf15f3d1aed780d79e9b0f1baf125e38 /include/net/switchdev.h
parentMerge branch 'bpf-obj-name-misc' (diff)
downloadwireguard-linux-c1f2c6d025d365d961dcdf555ecf0f60066f38a3.tar.xz
wireguard-linux-c1f2c6d025d365d961dcdf555ecf0f60066f38a3.zip
mlxsw: spectrum: Add extack for VLAN enslavements
Similar to physical ports, enslavement of VLAN devices can also fail. Use extack to indicate why the enslavement failed. $ ip link add link enp1s0np1 name enp1s0np1.10 type vlan id 10 $ ip link add name bond0 type bond mode 802.3ad $ ip link set dev enp1s0np1.10 master bond0 Error: spectrum: VLAN devices only support bridge and VRF uppers. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-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/net/switchdev.h')
0 files changed, 0 insertions, 0 deletions