Skip to contentSkip to conversation

net: mvpp2: cls: Fixed Non IP flow, with vlan tag flow defination.

PATCH Applied Harshal Chaudhari 3 participants 3 messages Feb 25, 2025 – Feb 27, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 net: mvpp2: cls: Fixed Non IP flow, with vlan tag flow defination.

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.")

---

Notes:
Change from v1:
- Added the fixes tag
Change from v2:
- Corrected description format.

 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c +1 -1
index 1641791a2d5b..8ed83fb98862 100644
@@ -324,7 +324,7 @@ static const struct mvpp2_cls_flow cls_flows[MVPP2_N_PRS_FLOWS] = {
 		       MVPP2_PRS_RI_VLAN_MASK),
 	/* Non IP flow, with vlan tag */
 	MVPP2_DEF_FLOW(MVPP22_FLOW_ETHERNET, MVPP2_FL_NON_IP_TAG,
-		       MVPP22_CLS_HEK_OPT_VLAN,
+		       MVPP22_CLS_HEK_TAGGED,
 		       0, 0),
 };
 
Signature · 1 line
2.25.1
Reviewed-by on v2 1/1
#1 lore raw
Quoted 7 lines · On Mon, 24 Feb 2025 20:20:58 -0800 Harshal Chaudhari <[email protected]>…

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.")

Thank you,

Maxime

#2 lore raw
In reply to Harshal Chaudhari
This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:

Quoted 9 lines · On Mon, 24 Feb 2025 20:20:58 -0800 you wrote:

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.")

[...]

Here is the summary with links:
- [v2] net: mvpp2: cls: Fixed Non IP flow, with vlan tag flow defination.

    https://git.kernel.org/netdev/net/c/2d253726ff71

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html