Message ID | 20200313010407.18286-1-wei.zhao1@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 dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A30DDA056E; Fri, 13 Mar 2020 02:24:44 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B89501BFA5; Fri, 13 Mar 2020 02:24:43 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 1962B2BAA for <dev@dpdk.org>; Fri, 13 Mar 2020 02:24:41 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Mar 2020 18:24:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,546,1574150400"; d="scan'208";a="236809980" Received: from unknown (HELO localhost.localdomain.bj.intel.com) ([172.16.182.123]) by fmsmga008.fm.intel.com with ESMTP; 12 Mar 2020 18:24:40 -0700 From: "wei.zhao1@intel.com" <"Wei Zhao"@dpdk.org> To: dev@dpdk.org Cc: qi.z.zhang@intel.com, xiaolong.ye@intel.com Date: Fri, 13 Mar 2020 09:04:00 +0800 Message-Id: <20200313010407.18286-1-wei.zhao1@intel.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 0/7] add switch filter support for intel DCF X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 |
add switch filter support for intel DCF
|
|
Message
wei.zhao1@intel.com
March 13, 2020, 1:04 a.m. UTC
A DCF (Device Config Function) framework has been add for intel device, this patch set add add switch filter support for it, this set also fix bugs which block this feature. This patchset is based on: [1] https://patchwork.dpdk.org/cover/66480/ : add Intel DCF PMD support Depends-on: series-8859 wei zhao (7): net/ice: enable switch flow on DCF net/ice: support for more PPPoE input set net/ice: change swicth parser to support flexible mask net/ice: add support for MAC VLAN rule net/ice: change default tunnle type net/ice: add action number check for swicth net/ice: fix input set of VLAN item config/common_linux | 1 + drivers/net/ice/ice_dcf_ethdev.c | 10 +- drivers/net/ice/ice_dcf_parent.c | 7 + drivers/net/ice/ice_fdir_filter.c | 6 + drivers/net/ice/ice_generic_flow.c | 13 + drivers/net/ice/ice_generic_flow.h | 9 + drivers/net/ice/ice_hash.c | 6 + drivers/net/ice/ice_switch_filter.c | 461 ++++++++++++++++++---------- 8 files changed, 348 insertions(+), 165 deletions(-)
Comments
This patch set is confusing to me. Only the DCF can deal with switch rules so why is the ice PMD trying to do anything with switch rules related to DCF? Paul > -----Original Message----- > From: dev <dev-bounces@dpdk.org> On Behalf Of wei.zhao1@intel.com > Sent: Thursday, March 12, 2020 6:04 PM > To: dev@dpdk.org > Cc: Zhang, Qi Z <qi.z.zhang@intel.com>; Ye, Xiaolong > <xiaolong.ye@intel.com> > Subject: [dpdk-dev] [PATCH 0/7] add switch filter support for intel DCF > > A DCF (Device Config Function) framework has been add for intel device, this > patch set add add switch filter support for it, this set also fix bugs which block > this feature. > > This patchset is based on: > [1] https://patchwork.dpdk.org/cover/66480/ : add Intel DCF PMD support > > Depends-on: series-8859 > > > wei zhao (7): > net/ice: enable switch flow on DCF > net/ice: support for more PPPoE input set > net/ice: change swicth parser to support flexible mask > net/ice: add support for MAC VLAN rule > net/ice: change default tunnle type > net/ice: add action number check for swicth > net/ice: fix input set of VLAN item > > config/common_linux | 1 + > drivers/net/ice/ice_dcf_ethdev.c | 10 +- > drivers/net/ice/ice_dcf_parent.c | 7 + > drivers/net/ice/ice_fdir_filter.c | 6 + > drivers/net/ice/ice_generic_flow.c | 13 + > drivers/net/ice/ice_generic_flow.h | 9 + > drivers/net/ice/ice_hash.c | 6 + > drivers/net/ice/ice_switch_filter.c | 461 ++++++++++++++++++---------- > 8 files changed, 348 insertions(+), 165 deletions(-) > > -- > 2.19.1
> -----Original Message----- > From: Stillwell Jr, Paul M <paul.m.stillwell.jr@intel.com> > Sent: Saturday, March 14, 2020 12:13 AM > To: wei.zhao1@intel.com <"Wei Zhao"@dpdk.org>; dev@dpdk.org > Cc: Zhang, Qi Z <qi.z.zhang@intel.com>; Ye, Xiaolong <xiaolong.ye@intel.com> > Subject: RE: [dpdk-dev] [PATCH 0/7] add switch filter support for intel DCF > > This patch set is confusing to me. Only the DCF can deal with switch rules so > why is the ice PMD trying to do anything with switch rules related to DCF? Ice pf PMD already implemented the switch rule engine and some parsers for PF only usage The ice DCF just share same engine and add some new parsers for DCF usage. And as I explained in another email, it is the case that the same compiled code can support different usage at runtime. Thanks Qi > > Paul > > > -----Original Message----- > > From: dev <dev-bounces@dpdk.org> On Behalf Of wei.zhao1@intel.com > > Sent: Thursday, March 12, 2020 6:04 PM > > To: dev@dpdk.org > > Cc: Zhang, Qi Z <qi.z.zhang@intel.com>; Ye, Xiaolong > > <xiaolong.ye@intel.com> > > Subject: [dpdk-dev] [PATCH 0/7] add switch filter support for intel > > DCF > > > > A DCF (Device Config Function) framework has been add for intel > > device, this patch set add add switch filter support for it, this set > > also fix bugs which block this feature. > > > > This patchset is based on: > > [1] https://patchwork.dpdk.org/cover/66480/ : add Intel DCF PMD > > support > > > > Depends-on: series-8859 > > > > > > wei zhao (7): > > net/ice: enable switch flow on DCF > > net/ice: support for more PPPoE input set > > net/ice: change swicth parser to support flexible mask > > net/ice: add support for MAC VLAN rule > > net/ice: change default tunnle type > > net/ice: add action number check for swicth > > net/ice: fix input set of VLAN item > > > > config/common_linux | 1 + > > drivers/net/ice/ice_dcf_ethdev.c | 10 +- > > drivers/net/ice/ice_dcf_parent.c | 7 + > > drivers/net/ice/ice_fdir_filter.c | 6 + > > drivers/net/ice/ice_generic_flow.c | 13 + > > drivers/net/ice/ice_generic_flow.h | 9 + > > drivers/net/ice/ice_hash.c | 6 + > > drivers/net/ice/ice_switch_filter.c | 461 > > ++++++++++++++++++---------- > > 8 files changed, 348 insertions(+), 165 deletions(-) > > > > -- > > 2.19.1 >