Skip to contentSkip to conversation

octeontx2-af: remove duplicate SCTP port flags

PATCH Applied Aryan Sinha 2 participants 2 messages Sep 20 – Sep 24

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

PATCH v2 1/1 octeontx2-af: remove duplicate SCTP port flags

proto_flags ORs BIT_ULL(NPC_SPORT_SCTP) and BIT_ULL(NPC_DPORT_SCTP) twice. The second pair is redundant and does not change the mask.

Drop it.

---
v2: add the missing net-next subject tag. No Fixes tag, the patch has
no functional change. Picked up Geetha's Reviewed-by.

Link to v1: https://lore.kernel.org/netdev/[email protected]/

 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c | 1 -
 1 file changed, 1 deletion(-)
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c +0 -1
index d422bdd5e..ec004ea51 100644
@@ -698,7 +698,6 @@ static void npc_set_features(struct rvu *rvu, int blkaddr, u8 intf)
 	proto_flags = BIT_ULL(NPC_SPORT_TCP) | BIT_ULL(NPC_SPORT_UDP) |
 		       BIT_ULL(NPC_DPORT_TCP) | BIT_ULL(NPC_DPORT_UDP) |
 		       BIT_ULL(NPC_SPORT_SCTP) | BIT_ULL(NPC_DPORT_SCTP) |
-		       BIT_ULL(NPC_SPORT_SCTP) | BIT_ULL(NPC_DPORT_SCTP) |
 		       BIT_ULL(NPC_TYPE_ICMP) | BIT_ULL(NPC_CODE_ICMP) |
 		       BIT_ULL(NPC_TCP_FLAGS);
 
Signature · 1 line
2.46.0
#1 lore raw
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

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

Quoted 9 lines · On Sun, 20 Sep 2026 17:58:02 +0530 you wrote:

proto_flags ORs BIT_ULL(NPC_SPORT_SCTP) and BIT_ULL(NPC_DPORT_SCTP) twice. The second pair is redundant and does not change the mask.

Drop it.

[...]

Here is the summary with links:
- [net-next,v2] octeontx2-af: remove duplicate SCTP port flags

    https://git.kernel.org/netdev/net-next/c/6f5021d32914

You are awesome, thank you!

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