From patchwork Thu Sep 19 06:25:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Leyi Rong X-Patchwork-Id: 59353 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D76831E8E6; Thu, 19 Sep 2019 08:28:52 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 296641E8DB for ; Thu, 19 Sep 2019 08:28:50 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Sep 2019 23:28:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,522,1559545200"; d="scan'208";a="362421936" Received: from dpdk-lrong-srv-04.sh.intel.com ([10.67.119.187]) by orsmga005.jf.intel.com with ESMTP; 18 Sep 2019 23:28:48 -0700 From: Leyi Rong To: haiyue.wang@intel.com, wenzhuo.lu@intel.com, qi.z.zhang@intel.com, xiaolong.ye@intel.com Cc: dev@dpdk.org, Leyi Rong Date: Thu, 19 Sep 2019 14:25:47 +0800 Message-Id: <20190919062553.79257-1-leyi.rong@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190829023421.112551-1-leyi.rong@intel.com> References: <20190829023421.112551-1-leyi.rong@intel.com> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v4 0/6] enable Rx flexible descriptor X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" This patchset enable Rx flexible descriptor for ice PMD in both normal path and vector path. Depends on shared code update patchset. Acked-by: Qi Zhang --- v4: - Handle the ‘proto_xtr’ with error processing, and remove the Redundant default type variable. - Add flex descriptor and protocol extraction release note. - Clean up the legacy descriptor. v3: - Parse the ‘proto_xtr’ devargs before CVL HW initialization and save it for later accessing. - Merge shuffle ops on vlan and rss flag on vector path. v2: - Remove the CONFIG_RTE_LIBRTE_ICE_PROTO_XTR definition, and use the RTE_LIBRTE_ICE_16BYTE_RX_DESC to control the protocol extraction when handling Rx packets. Haiyue Wang (4): net/ice: add Rx flex descriptor definition net/ice: handle the Rx flex descriptor net/ice: add protocol extraction support for per Rx queue net/ice: remove Rx legacy descriptor definition Leyi Rong (1): net/ice: switch to Rx flexible descriptor in AVX path Wenzhuo Lu (1): net/ice: switch to flexible descriptor in SSE path doc/guides/nics/ice.rst | 101 +++++++++ doc/guides/rel_notes/release_19_11.rst | 4 + drivers/net/ice/Makefile | 3 + drivers/net/ice/ice_ethdev.c | 301 +++++++++++++++++++++++++ drivers/net/ice/ice_ethdev.h | 4 + drivers/net/ice/ice_rxtx.c | 298 +++++++++++++----------- drivers/net/ice/ice_rxtx.h | 8 +- drivers/net/ice/ice_rxtx_vec_avx2.c | 221 +++++++++--------- drivers/net/ice/ice_rxtx_vec_common.h | 3 + drivers/net/ice/ice_rxtx_vec_sse.c | 235 +++++++++---------- drivers/net/ice/meson.build | 2 + drivers/net/ice/rte_pmd_ice.h | 152 +++++++++++++ 12 files changed, 962 insertions(+), 370 deletions(-) create mode 100644 drivers/net/ice/rte_pmd_ice.h