From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (xvm-189-124.dc0.ghst.net [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 809A6A09FF; Thu, 7 Jan 2021 05:37:46 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0DD61140E79; Thu, 7 Jan 2021 05:37:46 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id CDA1B140E78 for ; Thu, 7 Jan 2021 05:37:44 +0100 (CET) IronPort-SDR: YTwiN2v+uBdrvFn0tky0bMyxcqsBw9FhVd80HXHWJDrkjnAn1sugQu3YMjMfHY6WFxLlP7Ljji tBy+kmrUOOng== X-IronPort-AV: E=McAfee;i="6000,8403,9856"; a="177473932" X-IronPort-AV: E=Sophos;i="5.79,329,1602572400"; d="scan'208";a="177473932" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jan 2021 20:37:38 -0800 IronPort-SDR: +p90CCrvGORDevb27G6giV0avIDzoUo04zB1uS9UrCIhIlvRQwJyH2wmAjy718U+O9Yg8xqNdv JTDnb3CwX64g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,329,1602572400"; d="scan'208";a="351122741" Received: from irsmsx601.ger.corp.intel.com ([163.33.146.7]) by fmsmga008.fm.intel.com with ESMTP; 06 Jan 2021 20:37:37 -0800 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by irsmsx601.ger.corp.intel.com (163.33.146.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 7 Jan 2021 04:37:35 +0000 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.1713.004; Thu, 7 Jan 2021 12:37:33 +0800 From: "Zhang, Qi Z" To: "Zhang, Yuying" , "dev@dpdk.org" , "Wu, Jingjing" , "Yigit, Ferruh" Thread-Topic: [PATCH v2] net/iavf: support FDIR TCP/UDP pattern without input set Thread-Index: AQHW5BqH6853Q62Z6kSqCcTxIYBpmKoblPPw Date: Thu, 7 Jan 2021 04:37:33 +0000 Message-ID: <0381a371ac5344f1b68023ca60416953@intel.com> References: <20201201083207.70668-1-yuying.zhang@intel.com> <20210106104913.48459-1-yuying.zhang@intel.com> In-Reply-To: <20210106104913.48459-1-yuying.zhang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] net/iavf: support FDIR TCP/UDP pattern without input set 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" > -----Original Message----- > From: Zhang, Yuying > Sent: Wednesday, January 6, 2021 6:49 PM > To: dev@dpdk.org; Zhang, Qi Z ; Wu, Jingjing > ; Yigit, Ferruh > Cc: Zhang, Yuying > Subject: [PATCH v2] net/iavf: support FDIR TCP/UDP pattern without input = set >=20 > This patch adds an input set refinement function to support outer and inn= er > TCP/UDP patterns without input set for flow director filter. >=20 > 1. flow create 0 ingress pattern eth / ipv4 / udp / end > actions rss queues 0 1 2 3 end / end > 2. flow create 0 ingress pattern eth / ipv6 / tcp / end > actions queue index 3 / end > This patch supports above patterns which can't be created currently. Refine the commit a little bit as below: This patch will refine the inputset when it is empty and generate a dummy proto type as inputset in l3 header which is required by the hardware. >=20 > Signed-off-by: Yuying Zhang Acked-by: Qi Zhang Applied to dpdk-next-net-intel after reverted v1. Thanks Qi