Skip to contentSkip to conversation

net/octeontx2: extract nvgre as ltype

PATCH Applied [email protected] 2 participants 2 messages Sep 11, 2019 – Oct 3, 2019 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/octeontx2: extract nvgre as ltype

From: Kiran Kumar K <[email protected]>

Adding change to sync RTE Flow with KPU profile to extract NVGRE as ltype.

---
 drivers/net/octeontx2/otx2_flow_parse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/octeontx2/otx2_flow_parse.c +1 -1
index 6670c1a70..a811cb90c 100644
@@ -458,7 +458,7 @@ otx2_flow_parse_ld(struct otx2_parse_state *pst)
 		info.hw_hdr_len = 4;
 		break;
 	case RTE_FLOW_ITEM_TYPE_NVGRE:
-		lt = NPC_LT_LD_GRE;
+		lt = NPC_LT_LD_NVGRE;
 		lflags = NPC_F_GRE_NVGRE;
 		info.def_mask = &rte_flow_item_nvgre_mask;
 		info.len = sizeof(struct rte_flow_item_nvgre);
Signature · 1 line
2.17.1
Acked-by on v1 1/1 Applied
#1 lore raw
Quoted 7 lines · On Wed, Sep 11, 2019 at 2:49 PM <[email protected]> wrote:

From: Kiran Kumar K <[email protected]>

Adding change to sync RTE Flow with KPU profile to extract NVGRE as ltype.

Applied to dpdk-next-net-mrvl/master. Thanks

Quoted 20 lines
---
 drivers/net/octeontx2/otx2_flow_parse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/octeontx2/otx2_flow_parse.c +1 -2
index 6670c1a70..a811cb90c 100644
@@ -458,7 +458,7 @@ otx2_flow_parse_ld(struct otx2_parse_state *pst)
                info.hw_hdr_len = 4;
                break;
        case RTE_FLOW_ITEM_TYPE_NVGRE:
-               lt = NPC_LT_LD_GRE;
+               lt = NPC_LT_LD_NVGRE;
                lflags = NPC_F_GRE_NVGRE;
                info.def_mask = &rte_flow_item_nvgre_mask;
                info.len = sizeof(struct rte_flow_item_nvgre);
--

2.17.1