From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id E9075567F; Fri, 12 May 2017 09:16:29 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 May 2017 00:16:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,328,1491289200"; d="scan'208";a="1168151044" Received: from dpdk9.sh.intel.com ([10.239.129.137]) by fmsmga002.fm.intel.com with ESMTP; 12 May 2017 00:16:28 -0700 From: Beilei Xing To: adrien.mazarguil@6wind.com Cc: dev@dpdk.org, stable@dpdk.org Date: Fri, 12 May 2017 15:13:09 +0800 Message-Id: <1494573189-39405-1-git-send-email-beilei.xing@intel.com> X-Mailer: git-send-email 2.5.5 Subject: [dpdk-dev] [PATCH] app/testpmd: fix failure of creating E-Tag and NVGRE flows 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: , X-List-Received-Date: Fri, 12 May 2017 07:16:30 -0000 Application fails to create NVGRE and E_Tag flows with current configuration, this commit fixes the issue by adding flow items for E_TAG and NVGRE. Fixes: e4840ef2685d ("ethdev: fix incomplete items in flow API") Cc: stable@dpdk.org Signed-off-by: Beilei Xing --- app/test-pmd/config.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index 4d873cd..83a8f52 100644 --- a/app/test-pmd/config.c +++ b/app/test-pmd/config.c @@ -968,6 +968,8 @@ static const struct { MK_FLOW_ITEM(TCP, sizeof(struct rte_flow_item_tcp)), MK_FLOW_ITEM(SCTP, sizeof(struct rte_flow_item_sctp)), MK_FLOW_ITEM(VXLAN, sizeof(struct rte_flow_item_vxlan)), + MK_FLOW_ITEM(E_TAG, sizeof(struct rte_flow_item_e_tag)), + MK_FLOW_ITEM(NVGRE, sizeof(struct rte_flow_item_nvgre)), MK_FLOW_ITEM(MPLS, sizeof(struct rte_flow_item_mpls)), MK_FLOW_ITEM(GRE, sizeof(struct rte_flow_item_gre)), }; -- 2.5.5