octeontx2-af: remove duplicate SCTP port flags
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
@@ -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
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_flagsORsBIT_ULL(NPC_SPORT_SCTP)andBIT_ULL(NPC_DPORT_SCTP)twice. The second pair is redundant and does not change the mask.Drop it.
Signed-off-by Aryan Sinha <[email protected]>Reviewed-by Geetha sowjanya <[email protected]>[...]
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