octeontx2-af: kpu: Default profile updates
PATCH 1/1 octeontx2-af: kpu: Default profile updates
From: Kiran Kumar K <[email protected]>
Add support for parsing the following:
1. fabric path header
2. tpids 0x88a8, 0x9100 and 0x9200 parsing for
first pass and second pass packets
3. parse stacked VLANs
4. RoCEv2 header with UDP destination port 4791
5. single SBTAG parsing
--- .../ethernet/marvell/octeontx2/af/cn20k/npc.c | 2 +- .../net/ethernet/marvell/octeontx2/af/npc.h | 2 + .../marvell/octeontx2/af/npc_profile.h | 1260 +++++++++++++++-- 3 files changed, 1134 insertions(+), 130 deletions(-)
drivers/net/ethernet/marvell/octeontx2/af/cn20k/npc.c +1 -1
@@ -57,7 +57,7 @@ static struct npc_mcam_kex_extr npc_mkex_extr_default = { .keyx_cfg = { /* nibble: LA..LE (ltype only) + Error code + Channel */ [NIX_INTF_RX ] = ((u64 )NPC_MCAM_KEY_DYN <<32 ) | -NPC_PARSE_NIBBLE_INTF_RX | +NPC_CN20K_PARSE_NIBBLE_INTF_RX | NPC_CN20K_PARSE_NIBBLE_ERRCODE,/* nibble: LA..LE (ltype only) */
drivers/net/ethernet/marvell/octeontx2/af/npc.h +2 -0
@@ -41,6 +41,7 @@ enum npc_kpu_la_ltype {NPC_LT_LA_CPT_HDR ,NPC_LT_LA_CUSTOM_L2_24B_ETHER ,NPC_LT_LA_CUSTOM_PRE_L2_ETHER , +NPC_LT_LA_FP_ETHER ,NPC_LT_LA_CUSTOM0 =0xE , NPC_LT_LA_CUSTOM1 = 0xF, };
@@ -114,6 +115,7 @@ enum npc_kpu_le_ltype {NPC_LT_LE_TU_MPLS_IN_GRE ,NPC_LT_LE_TU_NSH_IN_GRE ,NPC_LT_LE_TU_MPLS_IN_UDP , +NPC_LT_LE_ROCEV2 ,NPC_LT_LE_CUSTOM0 =0xE , NPC_LT_LE_CUSTOM1 = 0xF, };
drivers/net/ethernet/marvell/octeontx2/af/npc_profile.h +1131 -129
1,995 lines not on this page · raw message
Signature · 1 line
2.48.1
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 11 lines · On Tue, 2 Jun 2026 09:35:25 +0530 you wrote:
From: Kiran Kumar K <[email protected]>
Add support for parsing the following:
1. fabric path header
2. tpids0x88a8,0x9100and0x9200parsing for
first pass and second pass packets
3. parse stacked VLANs
4. RoCEv2 header with UDP destination port 4791
5. single SBTAG parsing[...]
Here is the summary with links:
- [net-next] octeontx2-af: kpu: Default profile updates
https://git.kernel.org/netdev/net-next/c/0416f7b35458
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html