From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id F2311A034F; Wed, 31 Mar 2021 16:54:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 88EBF140F2D; Wed, 31 Mar 2021 16:54:06 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 5C8D3140E0D for ; Wed, 31 Mar 2021 16:54:04 +0200 (CEST) IronPort-SDR: 3Lbrd4o3IYdlcPVbRrbJwox9EnW9eQ2FrEGzw31u4++pSIInk7Pv6AlKgkq9MukbKSW5ISQQWX BnfvKeWmWe7w== X-IronPort-AV: E=McAfee;i="6000,8403,9940"; a="191501399" X-IronPort-AV: E=Sophos;i="5.81,293,1610438400"; d="scan'208";a="191501399" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Mar 2021 07:54:03 -0700 IronPort-SDR: J2hWiOWMejKOLXPzNHJKnHb/7RQBzzn521aDzvCMrnNB8CH8AGg+fDvGOrFLt7zyqLNJoSoNiQ kUaHm3Jov9fw== X-IronPort-AV: E=Sophos;i="5.81,293,1610438400"; d="scan'208";a="445739351" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.249.9]) ([10.213.249.9]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Mar 2021 07:54:02 -0700 To: Junfeng Guo , qi.z.zhang@intel.com, jingjing.wu@intel.com, beilei.xing@intel.com Cc: dev@dpdk.org, haiyue.wang@intel.com, yuying.zhang@intel.com References: <20210326104217.3397745-2-junfeng.guo@intel.com> <20210326142948.1889704-1-junfeng.guo@intel.com> <20210326142948.1889704-2-junfeng.guo@intel.com> From: Ferruh Yigit X-User: ferruhy Message-ID: <5b8b454e-dc3b-a46a-f71c-c5e5cbdcab96@intel.com> Date: Wed, 31 Mar 2021 15:53:58 +0100 MIME-Version: 1.0 In-Reply-To: <20210326142948.1889704-2-junfeng.guo@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [PATCH v3 1/3] net/iavf: support GTPU inner IPv4 for FDIR X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" On 3/26/2021 2:29 PM, Junfeng Guo wrote: > Support GTPU_(EH)_IPV4 inner L3 and L4 fields matching for AVF FDIR. > > +------------------------------+---------------------------------+ > | Pattern | Input Set | > +------------------------------+---------------------------------+ > | eth/ipv4/gtpu/ipv4 | inner: src/dst ip | > | eth/ipv4/gtpu/ipv4/udp | inner: src/dst ip, src/dst port | > | eth/ipv4/gtpu/ipv4/tcp | inner: src/dst ip, src/dst port | > | eth/ipv4/gtpu/eh/ipv4 | inner: src/dst ip | > | eth/ipv4/gtpu/eh/ipv4/udp | inner: src/dst ip, src/dst port | > | eth/ipv4/gtpu/eh/ipv4/tcp | inner: src/dst ip, src/dst port | > | eth/ipv4/gtpu/eh(0)/ipv4 | inner: src/dst ip | > | eth/ipv4/gtpu/eh(0)/ipv4/udp | inner: src/dst ip, src/dst port | > | eth/ipv4/gtpu/eh(0)/ipv4/tcp | inner: src/dst ip, src/dst port | > | eth/ipv4/gtpu/eh(1)/ipv4 | inner: src/dst ip | > | eth/ipv4/gtpu/eh(1)/ipv4/udp | inner: src/dst ip, src/dst port | > | eth/ipv4/gtpu/eh(1)/ipv4/tcp | inner: src/dst ip, src/dst port | > +------------------------------+---------------------------------+ > > Signed-off-by: Junfeng Guo <...> > @@ -121,7 +134,13 @@ static struct iavf_pattern_match_item iavf_fdir_pattern[] = { > {iavf_pattern_eth_ipv6_tcp, IAVF_FDIR_INSET_ETH_IPV6_TCP, IAVF_INSET_NONE}, > {iavf_pattern_eth_ipv6_sctp, IAVF_FDIR_INSET_ETH_IPV6_SCTP, IAVF_INSET_NONE}, > {iavf_pattern_eth_ipv4_gtpu, IAVF_FDIR_INSET_IPV4_GTPU, IAVF_INSET_NONE}, > + {iavf_pattern_eth_ipv4_gtpu_ipv4, IAVF_FDIR_INSET_GTPU_IPV4, IAVF_INSET_NONE}, > + {iavf_pattern_eth_ipv4_gtpu_ipv4_udp, IAVF_FDIR_INSET_GTPU_IPV4_UDP, IAVF_INSET_NONE}, > + {iavf_pattern_eth_ipv4_gtpu_ipv4_tcp, IAVF_FDIR_INSET_GTPU_IPV4_TCP, IAVF_INSET_NONE}, > {iavf_pattern_eth_ipv4_gtpu_eh, IAVF_FDIR_INSET_IPV4_GTPU_EH, IAVF_INSET_NONE}, > + {iavf_pattern_eth_ipv4_gtpu_eh_ipv4, IAVF_FDIR_INSET_GTPU_IPV4, IAVF_INSET_NONE}, > + {iavf_pattern_eth_ipv4_gtpu_eh_ipv4_udp,IAVF_FDIR_INSET_GTPU_IPV4_UDP, IAVF_INSET_NONE}, > + {iavf_pattern_eth_ipv4_gtpu_eh_ipv4_tcp,IAVF_FDIR_INSET_GTPU_IPV4_TCP, IAVF_INSET_NONE}, Syntax updated to fix checkpatch warning in next-net, space added after ',' & addtional tab removed before third field.