mlxsw: spectrum: Disallow prio-tagged packets when PVID is removed
authorIdo Schimmel <idosch@mellanox.com>
Tue, 11 Jun 2019 07:19:46 +0000 (10:19 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Jun 2019 18:08:15 +0000 (11:08 -0700)
commit4b14cc313f076c37b646cee06a85f0db59cf216c
tree0d7a52a290b6aa5f4fda0df4518a4f8054963173
parente891ce1dd2a54c41a3b70d822cd832735c03b892
mlxsw: spectrum: Disallow prio-tagged packets when PVID is removed

When PVID is removed from a bridge port, the Linux bridge drops both
untagged and prio-tagged packets. Align mlxsw with this behavior.

Fixes: 148f472da5db ("mlxsw: reg: Add the Switch Port Acceptable Frame Types register")
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/reg.h