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 CC6E9A04B5; Tue, 12 Jan 2021 10:39:11 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B2E20140D1C; Tue, 12 Jan 2021 10:39:11 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 96FFF140D1B for ; Tue, 12 Jan 2021 10:39:10 +0100 (CET) IronPort-SDR: qeoWbr5nl/NSwqN/gvkqKdbO6Bq+A4trwM6xWN60helFtdsFZUdqYBYCEOfaNu9E9TLX9fFOSi gVEtP2N+9VoQ== X-IronPort-AV: E=McAfee;i="6000,8403,9861"; a="239554313" X-IronPort-AV: E=Sophos;i="5.79,341,1602572400"; d="scan'208";a="239554313" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jan 2021 01:39:09 -0800 IronPort-SDR: 6aawR0nhR/O2cybIbwER0P4WHIACRoMo/g5xf73zWkHteUb7cvQ7aqdyhB1T1Vn/TwQJvqbO/i vCmfXhQIYhEA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,341,1602572400"; d="scan'208";a="381356081" Received: from npg-dpdk-cvl-jeffguo-01.sh.intel.com ([10.67.111.128]) by orsmga008.jf.intel.com with ESMTP; 12 Jan 2021 01:39:07 -0800 From: Jeff Guo To: qi.z.zhang@intel.com, jingjing.wu@intel.com, qiming.yang@intel.com, haiyue.wang@intel.com Cc: dev@dpdk.org, jia.guo@intel.com, simei.su@intel.com Date: Tue, 12 Jan 2021 17:32:40 +0800 Message-Id: <20210112093243.40840-1-jia.guo@intel.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201216085854.7842-1-jia.guo@intel.com> References: <20201216085854.7842-1-jia.guo@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [dpdk-dev v3 0/3] net/ice: refactor PTYPE parsing 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" If the capability of a PTYPE within a specific package could be negotiated, no need to maintain a different PTYPE list for each type of the package when parsing PTYPE. So refactor the PTYPE parsing mechanism for each flow engines. v3: separate the patch set from the ecpri configure patch set Jeff Guo (3): net/ice/base: add package PTYPE enable information net/ice/base: add PTYPE value net/ice: refactor PTYPE parsing drivers/net/ice/base/ice_flex_pipe.c | 79 ++++++++++++++ drivers/net/ice/base/ice_flex_pipe.h | 3 + drivers/net/ice/base/ice_flex_type.h | 157 ++++++++++++++++++++------- drivers/net/ice/base/ice_type.h | 1 + drivers/net/ice/ice_acl_filter.c | 3 +- drivers/net/ice/ice_fdir_filter.c | 63 ++--------- drivers/net/ice/ice_generic_flow.c | 132 ++++++++++++++++++++-- drivers/net/ice/ice_generic_flow.h | 9 +- drivers/net/ice/ice_hash.c | 47 ++------ drivers/net/ice/ice_switch_filter.c | 139 +++--------------------- 10 files changed, 366 insertions(+), 267 deletions(-) -- 2.20.1