net/octeontx2: extract nvgre as ltype
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.
Signed-off-by Kiran Kumar K <[email protected]>
--- drivers/net/octeontx2/otx2_flow_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/octeontx2/otx2_flow_parse.c +1 -1
@@ -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
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.
Signed-off-by Kiran Kumar K <[email protected]>
Acked-by Jerin Jacob <[email protected]>
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@@ -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