]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: mvpp2: cls: Fixed Non IP flow, with vlan tag flow defination.
authorHarshal Chaudhari <hchaudhari@marvell.com>
Tue, 25 Feb 2025 04:20:58 +0000 (20:20 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Mar 2025 11:50:57 +0000 (12:50 +0100)
commitb8e0dd7ff31977e3f1ed7dd8e0348d5be81c09fe
treef0b7c8bcdd4c790a7f40e68294c4773994ed3190
parent0e70cec1839f0e2b3dc22ef6d1dc52962cdd5cc0
net: mvpp2: cls: Fixed Non IP flow, with vlan tag flow defination.

[ Upstream commit 2d253726ff7106b39a44483b6864398bba8a2f74 ]

Non IP flow, with vlan tag not working as expected while
running below command for vlan-priority. fixed that.

ethtool -N eth1 flow-type ether vlan 0x8000 vlan-mask 0x1fff action 0 loc 0

Fixes: 1274daede3ef ("net: mvpp2: cls: Add steering based on vlan Id and priority.")
Signed-off-by: Harshal Chaudhari <hchaudhari@marvell.com>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/20250225042058.2643838-1-hchaudhari@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c