]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
mlxsw: Remember untagged VLANs
authorElad Raz <eladr@mellanox.com>
Wed, 6 Jan 2016 12:01:11 +0000 (13:01 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Jan 2016 19:42:42 +0000 (14:42 -0500)
commitfc1273afb257663de034260f5b5fbbd8d79d6308
tree07f656c8413f9bb56d1fb4f566890f8df23c134f
parent26a4ea0f454c6714aeb2b1e295c1f8d76de94013
mlxsw: Remember untagged VLANs

When a vlan is been configured, remeber the untagged mode of the vlan.
When displaying the list of configured VLANs, show the untagged attribute.

Signed-off-by: Elad Raz <eladr@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
drivers/net/ethernet/mellanox/mlxsw/spectrum.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c