octeontx2-af: remove duplicate SCTP port flags
PATCH 1/1 octeontx2-af: remove duplicate SCTP port flags
proto_flags ORs BIT_ULL(NPC_SPORT_SCTP) and BIT_ULL(NPC_DPORT_SCTP) are present twice. Both fields are already covered by the first pair, so the second one has no effect.
Drop it. No functional change.
--- 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
Quoted 48 lines
-----Original Message-----
From: TechyMinati <[email protected]>
Sent: Friday, September 18, 2026 11:36 AM
To: Sunil Kovvuri Goutham <[email protected]>; Ratheesh Kannoth <[email protected]>; Geethasowjanya Akula <[email protected]>; Subbaraya Sundeep Bhatta <[email protected]>
Cc: Andrew Lunn <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Subject: [EXTERNAL] Re: [PATCH] octeontx2-af: remove duplicate SCTP port flagsThis targets net-next. Sorry for the missing subject tag.
On Fri, Sep 18, 2026 at 11:33 AM Aryan Sinha <[email protected] <mailto:[email protected]> > wrote:
proto_flagsORsBIT_ULL(NPC_SPORT_SCTP)andBIT_ULL(NPC_DPORT_SCTP)
are present twice. Both fields are already covered by the first pair, so
the second
one has no effect.Drop it. No functional change.
Signed-off-by Aryan Sinha <[email protected]<mailto:[email protected]> >
--- drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c b/drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c index d422bdd5e..ec004ea51 100644 --- a/drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c +++ b/drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c @@ -698,7 +698,6 @@ static void npc_set_features(struct rvu *rvu, intblkaddr, 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)
|
Quoted 7 lines
BIT_ULL(NPC_TYPE_ICMP) | BIT_ULL(NPC_CODE_ICMP) | BIT_ULL(NPC_TCP_FLAGS); -- 2.46.0
Ratheesh Kannoth
maintainerQuoted 7 lines · Aryan Sinha
proto_flagsORsBIT_ULL(NPC_SPORT_SCTP)andBIT_ULL(NPC_DPORT_SCTP)are present twice. Both fields are already covered by the first pair, so the second one has no effect.Drop it. No functional change.
Signed-off-by Aryan Sinha <[email protected]>
Isn't this a fix? Please include the appropriate Fixes tag:
Jakub Kicinski
maintainerQuoted 9 lines · On Fri, 18 Sep 2026 11:55:08 +0530 Ratheesh Kannoth wrote:
Quoted 7 lines · Aryan Sinha
proto_flagsORsBIT_ULL(NPC_SPORT_SCTP)andBIT_ULL(NPC_DPORT_SCTP)are present twice. Both fields are already covered by the first pair, so the second one has no effect.Drop it. No functional change.
Signed-off-by Aryan Sinha <[email protected]>Isn't this a fix? Please include the appropriate Fixes tag:
The patch has no functional change, how could it be a fix?