summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorKiran Kumar K <kirankumark@marvell.com>2019-09-11 14:49:25 +0530
committerFerruh Yigit <ferruh.yigit@intel.com>2019-10-08 12:14:31 +0200
commit2445649605ce62118cccd2475071a1a749607eab (patch)
tree7cf8b27521115ded419ea3af9c7a9d4ce4a935fa /drivers
parentb1094c3ca01fdf6ef69ad806071f0f97b27823f7 (diff)
downloaddpdk-2445649605ce62118cccd2475071a1a749607eab.zip
dpdk-2445649605ce62118cccd2475071a1a749607eab.tar.gz
dpdk-2445649605ce62118cccd2475071a1a749607eab.tar.xz
net/octeontx2: extract NVGRE as ltype
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/octeontx2/otx2_flow_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/octeontx2/otx2_flow_parse.c b/drivers/net/octeontx2/otx2_flow_parse.c
index 71650b5..2cba0a4 100644
--- a/drivers/net/octeontx2/otx2_flow_parse.c
+++ b/drivers/net/octeontx2/otx2_flow_parse.c
@@ -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);