mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-22 02:17:36 -04:00
octeontx2-af: kpu: Default profile updates
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 Signed-off-by: Kiran Kumar K <kirankumark@marvell.com> Signed-off-by: Nitin Shetty J <nshettyj@marvell.com> Link: https://patch.msgid.link/20260602040535.3975769-1-nshettyj@marvell.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
f646f464d5
commit
0416f7b354
@@ -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) */
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user