]> 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>
Fri, 7 Mar 2025 17:25:33 +0000 (18:25 +0100)
commite3e760e03e15d18c1bb7875b70a89534b9f901d7
treebaa5570d8f747b2f360e50151135391aaf4d7abd
parent902d5762962444eac1a05284da8ec0a7b99eb508
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