From patchwork Mon Apr 12 04:03:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leyi Rong X-Patchwork-Id: 91085 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id BC95FA0C44; Mon, 12 Apr 2021 06:29:07 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4E53E1414CA; Mon, 12 Apr 2021 06:29:07 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id B29EA4069D for ; Mon, 12 Apr 2021 06:29:05 +0200 (CEST) IronPort-SDR: M/7dEz7cxJdwe/gJWaIoAbcmOrndMS3vA/KQebk9q65ZLNgCmmTEn2VgOaJJMxGLbYnhrjaTWJ WS7PH7hff3zA== X-IronPort-AV: E=McAfee;i="6000,8403,9951"; a="279403756" X-IronPort-AV: E=Sophos;i="5.82,214,1613462400"; d="scan'208";a="279403756" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Apr 2021 21:29:03 -0700 IronPort-SDR: LPbyVH/yj/qcD5TyGJLJ+01A1ZLKVaoMCXY7LMVJ5xsGRNAhyhy/ttmGK+gr1+fOKwCuh4A9dJ 4MGAjsL8jtJw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,214,1613462400"; d="scan'208";a="417207930" Received: from dpdk-lrong-srv-04.sh.intel.com ([10.67.119.221]) by fmsmga008.fm.intel.com with ESMTP; 11 Apr 2021 21:29:00 -0700 From: Leyi Rong To: qi.z.zhang@intel.com, wenzhuo.lu@intel.com Cc: dev@dpdk.org, Leyi Rong Date: Mon, 12 Apr 2021 12:03:57 +0800 Message-Id: <20210412040359.105946-1-leyi.rong@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210317091409.11725-1-leyi.rong@intel.com> References: <20210317091409.11725-1-leyi.rong@intel.com> Subject: [dpdk-dev] [PATCH v3 0/2] add alternative AVX512 offload path 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" Add alternative Rx/Tx offload path for AVX512, which can support Rx/Tx offload features, like checksum/vlan/RSS/QinQ offload. --- v3: - complete ice_dev_supported_ptypes_get() for new adding offload functions. - complete tx/rx burst infos for new adding offload functions. v2: - add "do_offload" parameter to according functions for reducing code duplication. Leyi Rong (2): net/ice: add Tx AVX512 offload path net/ice: add Rx AVX512 offload path drivers/net/ice/ice_rxtx.c | 78 +++-- drivers/net/ice/ice_rxtx.h | 10 + drivers/net/ice/ice_rxtx_vec_avx2.c | 2 +- drivers/net/ice/ice_rxtx_vec_avx512.c | 403 +++++++++++++++++--------- drivers/net/ice/ice_rxtx_vec_common.h | 129 +++++++-- drivers/net/ice/ice_rxtx_vec_sse.c | 2 +- 6 files changed, 448 insertions(+), 176 deletions(-)