From patchwork Wed Sep 11 09:19:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kiran Kumar Kokkilagadda X-Patchwork-Id: 59114 X-Patchwork-Delegate: jerinj@marvell.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0CECA1E98E; Wed, 11 Sep 2019 11:19:40 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 0B5C31E97F for ; Wed, 11 Sep 2019 11:19:38 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x8B9A8ED005345 for ; Wed, 11 Sep 2019 02:19:38 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=pfpt0818; bh=JjMZ+EgnBYLfFwtgohFF87vtTMCoqXxLWW8BgpJFFtA=; b=l4Ddv73HaZFrVDVQ/KMl7/UuUGwmJ1ixmea1VXyiBhkK28q8wpht7xlByOaLdg/VQ56o vZCP7FZlBD+lEvyB9KbapJPH9x6+Fn87aWKlelrzf3cChxoXs1hp1oLLUTJRt5WUzWLQ OwzdWpzV+NCsk4lChy7hY2ocCSFgQ3d73TSuohOyvElEj162gXlxQawsQaPjLtQMREbo evrkatn6eZWBSqyMSSLvVKje+hlsVpQC3IN942eBotJk+2Z029QBmwg3vpHW/SlJ0z6R iwYh6FKpt4YteMftgGdFVpYjxD/FcXjmRDXhFA9WqR1nV58cSIS0j/X21yY/GgkGbQE1 XA== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0a-0016f401.pphosted.com with ESMTP id 2uxshk93wh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Wed, 11 Sep 2019 02:19:38 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 11 Sep 2019 02:19:37 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Wed, 11 Sep 2019 02:19:37 -0700 Received: from localhost.localdomain (unknown [10.28.34.15]) by maili.marvell.com (Postfix) with ESMTP id AEB593F703F; Wed, 11 Sep 2019 02:19:35 -0700 (PDT) From: To: Jerin Jacob , Nithin Dabilpuram , Kiran Kumar K CC: Date: Wed, 11 Sep 2019 14:49:25 +0530 Message-ID: <20190911091925.29683-1-kirankumark@marvell.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.70,1.0.8 definitions=2019-09-11_06:2019-09-10,2019-09-11 signatures=0 Subject: [dpdk-dev] [PATCH] net/octeontx2: extract nvgre as ltype X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Kiran Kumar K Adding change to sync RTE Flow with KPU profile to extract NVGRE as ltype. Signed-off-by: Kiran Kumar K Acked-by: Jerin Jacob --- drivers/net/octeontx2/otx2_flow_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/octeontx2/otx2_flow_parse.c b/drivers/net/octeontx2/otx2_flow_parse.c index 6670c1a70..a811cb90c 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);