From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7A89C432C1 for ; Tue, 24 Sep 2019 09:04:26 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 6F12A20872 for ; Tue, 24 Sep 2019 09:04:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6F12A20872 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 612AC2C60; Tue, 24 Sep 2019 11:04:25 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 901F92C2F for ; Tue, 24 Sep 2019 11:04:23 +0200 (CEST) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Sep 2019 02:04:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,543,1559545200"; d="scan'208";a="388791800" Received: from yexl-server.sh.intel.com (HELO localhost) ([10.67.117.17]) by fmsmga005.fm.intel.com with ESMTP; 24 Sep 2019 02:04:20 -0700 Date: Tue, 24 Sep 2019 17:02:14 +0800 From: Ye Xiaolong To: Leyi Rong Cc: haiyue.wang@intel.com, wenzhuo.lu@intel.com, qi.z.zhang@intel.com, dev@dpdk.org Message-ID: <20190924090214.GK7338@intel.com> References: <20190829023421.112551-1-leyi.rong@intel.com> <20190924023809.11722-1-leyi.rong@intel.com> <20190924023809.11722-4-leyi.rong@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190924023809.11722-4-leyi.rong@intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Subject: Re: [dpdk-dev] [PATCH v5 3/6] net/ice: add protocol extraction support for per Rx queue 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" On 09/24, Leyi Rong wrote: >From: Haiyue Wang > >The ice has the feature to extract protocol fields into flex descriptor >by programming per queue. Currently, the ice PMD will put the protocol >fields into rte_mbuf::udata64 with different type format. Application >can access the protocol fields quickly. > >Signed-off-by: Haiyue Wang >--- > 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 | 60 +++++ > drivers/net/ice/ice_rxtx.h | 2 + > drivers/net/ice/ice_rxtx_vec_common.h | 3 + > drivers/net/ice/meson.build | 2 + > drivers/net/ice/rte_pmd_ice.h | 152 +++++++++++++ > 10 files changed, 632 insertions(+) > create mode 100644 drivers/net/ice/rte_pmd_ice.h > Reviewed-by: Xiaolong Ye