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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Jul 2019 07:05:55 +0000 (09:05 +0200)
commitfb0ddae4cda490f73d76c4cc6afd6c946e7ab143
tree9b2a9b1c49a4f14cc9a2a9279fb5c4f7cfd150e2
parent866e8eb5ad1813113030a98e31714e707e03954b
mlxsw: spectrum: Disallow prio-tagged packets when PVID is removed

[ Upstream commit 4b14cc313f076c37b646cee06a85f0db59cf216c ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/mellanox/mlxsw/reg.h