net/octeontx2: extract NVGRE as ltype
authorKiran Kumar K <kirankumark@marvell.com>
Wed, 11 Sep 2019 09:19:25 +0000 (14:49 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 8 Oct 2019 10:14:31 +0000 (12:14 +0200)
Adding change to sync RTE Flow with KPU profile to extract
NVGRE as ltype.

Signed-off-by: Kiran Kumar K <kirankumark@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/net/octeontx2/otx2_flow_parse.c

index 71650b5..2cba0a4 100644 (file)
@@ -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);