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=-13.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 62A2EC433ED for ; Tue, 13 Apr 2021 12:45:09 +0000 (UTC) Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by mail.kernel.org (Postfix) with ESMTP id BB452611CE for ; Tue, 13 Apr 2021 12:45:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BB452611CE 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 [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D0D76160F24; Tue, 13 Apr 2021 14:45:07 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 5404D160F1D for ; Tue, 13 Apr 2021 14:45:06 +0200 (CEST) IronPort-SDR: o9kPh9GAJzvSQml+G7wOFpIM9dTDgVFEi/M4T3i1nnJhUa4AtroRAtlKp11iNEw5GIoLsFPpar f9/1+PktexWA== X-IronPort-AV: E=McAfee;i="6200,9189,9952"; a="181920158" X-IronPort-AV: E=Sophos;i="5.82,219,1613462400"; d="scan'208";a="181920158" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Apr 2021 05:45:04 -0700 IronPort-SDR: QhvArPn9ZAHuprgHtyG0wRhBCWBl+vjBJ4kQhbc4fg4/BuAQ0PO/lTWYF2mPXEkIM/zwEbmPyn fKGi/yGgJjpw== X-IronPort-AV: E=Sophos;i="5.82,219,1613462400"; d="scan'208";a="460570122" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.204.251]) ([10.213.204.251]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Apr 2021 05:45:04 -0700 To: Wenzhuo Lu , dev@dpdk.org References: <1616722322-6027-1-git-send-email-wenzhuo.lu@intel.com> <1617947944-130983-1-git-send-email-wenzhuo.lu@intel.com> <1617947944-130983-5-git-send-email-wenzhuo.lu@intel.com> From: Ferruh Yigit X-User: ferruhy Message-ID: <500eb40d-46cd-e970-f947-29e41d227fb4@intel.com> Date: Tue, 13 Apr 2021 13:45:00 +0100 MIME-Version: 1.0 In-Reply-To: <1617947944-130983-5-git-send-email-wenzhuo.lu@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v4 4/4] net/iavf: add offload path for Rx AVX512 flex desc 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" On 4/9/2021 6:59 AM, Wenzhuo Lu wrote: > Add a specific path for RX AVX512 (flexible descriptor). > In this path, support the HW offload features, like, > checksum, VLAN stripping, RSS hash. > This path is chosen automatically according to the > configuration. > > 'inline' is used, then the duplicate code is generated > by the compiler. > > Signed-off-by: Wenzhuo Lu > --- > doc/guides/rel_notes/release_21_05.rst | 7 + > drivers/net/iavf/iavf_rxtx.c | 27 +- > drivers/net/iavf/iavf_rxtx.h | 6 + > drivers/net/iavf/iavf_rxtx_vec_avx512.c | 436 ++++++++++++++++++-------------- > 4 files changed, 283 insertions(+), 193 deletions(-) > > diff --git a/doc/guides/rel_notes/release_21_05.rst b/doc/guides/rel_notes/release_21_05.rst > index 95713f2..253917a 100644 > --- a/doc/guides/rel_notes/release_21_05.rst > +++ b/doc/guides/rel_notes/release_21_05.rst > @@ -137,6 +137,13 @@ New Features > * Added command to display Rx queue used descriptor count. > ``show port (port_id) rxq (queue_id) desc used count`` > > +* **Added the offload paths for IAVF AVX512.** > + > + * Added the new RX and TX paths to use the HW offload features. When the HW > + offload features are configured to be used, the offload paths are chosen > + automatically. > + * The code of HW offload features is removed from the legacy paths. > + > There is already a iavf bullet in the section, "Updated Intel iavf driver", can you please add updates under it?