Message ID | 20211102053918.4063391-1-junfeng.guo@intel.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1DD44A0C4E; Tue, 2 Nov 2021 06:40:27 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 90A914069F; Tue, 2 Nov 2021 06:40:26 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 5B5524068F for <dev@dpdk.org>; Tue, 2 Nov 2021 06:40:25 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10155"; a="218382092" X-IronPort-AV: E=Sophos;i="5.87,201,1631602800"; d="scan'208";a="218382092" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Nov 2021 22:40:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,201,1631602800"; d="scan'208";a="488945129" Received: from dpdk-junfengguo-v1.sh.intel.com ([10.67.119.216]) by orsmga007.jf.intel.com with ESMTP; 01 Nov 2021 22:40:20 -0700 From: Junfeng Guo <junfeng.guo@intel.com> To: qi.z.zhang@intel.com, jingjing.wu@intel.com, beilei.xing@intel.com Cc: dev@dpdk.org, ferruh.yigit@intel.com, ting.xu@intel.com, junfeng.guo@intel.com Date: Tue, 2 Nov 2021 13:39:14 +0800 Message-Id: <20211102053918.4063391-1-junfeng.guo@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211101083612.2380503-5-junfeng.guo@intel.com> References: <20211101083612.2380503-5-junfeng.guo@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v9 0/4] enable protocol agnostic flow offloading in FDIR X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
enable protocol agnostic flow offloading in FDIR
|
|
Message
Junfeng Guo
Nov. 2, 2021, 5:39 a.m. UTC
Protocol agnostic flow offloading in Flow Director is enabled by this patch set based on the Parser Library using existing rte_flow raw API. [PATCH v9 1/4] net/ice/base: add method to disable FDIR SWAP option. [PATCH v9 2/4] net/ice/base: add function to set HW profile for raw flow. [PATCH v9 3/4] app/testpmd: update Max RAW pattern size to 512. [PATCH v9 4/4] net/ice: enable protocol agnostic flow offloading in FDIR. Junfeng Guo (4): net/ice/base: add method to disable FDIR SWAP option net/ice/base: add function to set HW profile for raw flow app/testpmd: update Max RAW pattern size to 512 net/ice: enable protocol agnostic flow offloading in FDIR * v8: Added memory free logic. * v8: Replaced profile info list with a table. * v7: Fixed LIST_FOR_EACH_ENTRY logic. * v6: Removed redundant code. * v5: Optimized some code logic. * v4: Added list to check inputset conflict. * v3: Added necessary base code for raw flow in FDIR. * v2: Enabled vxlan port add for raw flow and updated commit message app/test-pmd/cmdline_flow.c | 2 +- doc/guides/rel_notes/release_21_11.rst | 1 + drivers/net/ice/base/README | 2 +- drivers/net/ice/base/ice_flex_pipe.c | 93 +++++++++- drivers/net/ice/base/ice_flex_pipe.h | 6 +- drivers/net/ice/base/ice_flow.c | 86 ++++++++- drivers/net/ice/base/ice_flow.h | 4 + drivers/net/ice/ice_ethdev.h | 14 ++ drivers/net/ice/ice_fdir_filter.c | 231 +++++++++++++++++++++++++ drivers/net/ice/ice_generic_flow.c | 7 + drivers/net/ice/ice_generic_flow.h | 3 + 11 files changed, 443 insertions(+), 6 deletions(-)
Comments
> -----Original Message----- > From: Guo, Junfeng <junfeng.guo@intel.com> > Sent: Tuesday, November 2, 2021 1:39 PM > To: Zhang, Qi Z <qi.z.zhang@intel.com>; Wu, Jingjing <jingjing.wu@intel.com>; > Xing, Beilei <beilei.xing@intel.com> > Cc: dev@dpdk.org; Yigit, Ferruh <ferruh.yigit@intel.com>; Xu, Ting > <ting.xu@intel.com>; Guo, Junfeng <junfeng.guo@intel.com> > Subject: [PATCH v9 0/4] enable protocol agnostic flow offloading in FDIR > > Protocol agnostic flow offloading in Flow Director is enabled by this patch set > based on the Parser Library using existing rte_flow raw API. > > [PATCH v9 1/4] net/ice/base: add method to disable FDIR SWAP option. > [PATCH v9 2/4] net/ice/base: add function to set HW profile for raw flow. > [PATCH v9 3/4] app/testpmd: update Max RAW pattern size to 512. > [PATCH v9 4/4] net/ice: enable protocol agnostic flow offloading in FDIR. > > Junfeng Guo (4): > net/ice/base: add method to disable FDIR SWAP option > net/ice/base: add function to set HW profile for raw flow > app/testpmd: update Max RAW pattern size to 512 > net/ice: enable protocol agnostic flow offloading in FDIR > > * v8: > Added memory free logic. > > * v8: > Replaced profile info list with a table. > > * v7: > Fixed LIST_FOR_EACH_ENTRY logic. > > * v6: > Removed redundant code. > > * v5: > Optimized some code logic. > > * v4: > Added list to check inputset conflict. > > * v3: > Added necessary base code for raw flow in FDIR. > > * v2: > Enabled vxlan port add for raw flow and updated commit message > > app/test-pmd/cmdline_flow.c | 2 +- > doc/guides/rel_notes/release_21_11.rst | 1 + > drivers/net/ice/base/README | 2 +- > drivers/net/ice/base/ice_flex_pipe.c | 93 +++++++++- > drivers/net/ice/base/ice_flex_pipe.h | 6 +- > drivers/net/ice/base/ice_flow.c | 86 ++++++++- > drivers/net/ice/base/ice_flow.h | 4 + > drivers/net/ice/ice_ethdev.h | 14 ++ > drivers/net/ice/ice_fdir_filter.c | 231 +++++++++++++++++++++++++ > drivers/net/ice/ice_generic_flow.c | 7 + > drivers/net/ice/ice_generic_flow.h | 3 + > 11 files changed, 443 insertions(+), 6 deletions(-) > > -- > 2.25.1 Acked-by: Qi Zhang <qi.z.zhang@intel.com> Applied to dpdk-next-net-intel. Thanks Qi
On 11/2/2021 5:39 AM, Junfeng Guo wrote: > Protocol agnostic flow offloading in Flow Director is enabled by this > patch set based on the Parser Library using existing rte_flow raw API. > > [PATCH v9 1/4] net/ice/base: add method to disable FDIR SWAP option. > [PATCH v9 2/4] net/ice/base: add function to set HW profile for raw flow. > [PATCH v9 3/4] app/testpmd: update Max RAW pattern size to 512. > [PATCH v9 4/4] net/ice: enable protocol agnostic flow offloading in FDIR. > > Junfeng Guo (4): > net/ice/base: add method to disable FDIR SWAP option > net/ice/base: add function to set HW profile for raw flow > app/testpmd: update Max RAW pattern size to 512 > net/ice: enable protocol agnostic flow offloading in FDIR Hi Junfeng, Since there will be a new version, can you please fix following too? $ ./devtools/check-doc-vs-code.sh rte_flow doc out of sync for ice item raw
> -----Original Message----- > From: Yigit, Ferruh <ferruh.yigit@intel.com> > Sent: Wednesday, November 3, 2021 00:29 > To: Guo, Junfeng <junfeng.guo@intel.com>; Zhang, Qi Z > <qi.z.zhang@intel.com>; Wu, Jingjing <jingjing.wu@intel.com>; Xing, > Beilei <beilei.xing@intel.com> > Cc: dev@dpdk.org; Xu, Ting <Ting.Xu@intel.com> > Subject: Re: [PATCH v9 0/4] enable protocol agnostic flow offloading in > FDIR > > On 11/2/2021 5:39 AM, Junfeng Guo wrote: > > Protocol agnostic flow offloading in Flow Director is enabled by this > > patch set based on the Parser Library using existing rte_flow raw API. > > > > [PATCH v9 1/4] net/ice/base: add method to disable FDIR SWAP option. > > [PATCH v9 2/4] net/ice/base: add function to set HW profile for raw > flow. > > [PATCH v9 3/4] app/testpmd: update Max RAW pattern size to 512. > > [PATCH v9 4/4] net/ice: enable protocol agnostic flow offloading in > FDIR. > > > > Junfeng Guo (4): > > net/ice/base: add method to disable FDIR SWAP option > > net/ice/base: add function to set HW profile for raw flow > > app/testpmd: update Max RAW pattern size to 512 > > net/ice: enable protocol agnostic flow offloading in FDIR > > Hi Junfeng, > > Since there will be a new version, can you please fix following too? > > $ ./devtools/check-doc-vs-code.sh > rte_flow doc out of sync for ice > item raw Fixed in the coming patch set, thanks for your careful review! Regards, Junfeng Guo