From patchwork Fri Oct 16 09:44:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Guo, Jia" X-Patchwork-Id: 81072 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4CA18A04DB; Fri, 16 Oct 2020 11:51:14 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 725D81EC1D; Fri, 16 Oct 2020 11:51:12 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 6DC891D605 for ; Fri, 16 Oct 2020 11:51:10 +0200 (CEST) IronPort-SDR: siyUfKJjxnupkcz3xwqNblpBFGF4d/jI/rrlVum5K/dzh2GNgF6GvKFsnPvx+FF2bRGKycY5VQ SLP3Apkrgv2A== X-IronPort-AV: E=McAfee;i="6000,8403,9775"; a="165806219" X-IronPort-AV: E=Sophos;i="5.77,382,1596524400"; d="scan'208";a="165806219" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Oct 2020 02:51:08 -0700 IronPort-SDR: mAFXpYLv/dEEbkXliRcgCdV4teEVRW7ejcD1y7BaaW/O8AAK5jtx2DNP5Xt9ZpVlaxm9V2ifL7 DJFEdYtvlnLA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,382,1596524400"; d="scan'208";a="464629405" Received: from npg-dpdk-cvl-jeffguo-01.sh.intel.com ([10.67.111.128]) by orsmga004.jf.intel.com with ESMTP; 16 Oct 2020 02:51:05 -0700 From: Jeff Guo To: jingjing.wu@intel.com, qi.z.zhang@intel.com, beilei.xing@intel.com, haiyue.wang@intel.com, qiming.yang@intel.com Cc: dev@dpdk.org, ferruh.yigit@intel.com, mb@smartsharesystems.com, stephen@networkplumber.org, barbette@kth.se, Feifei.wang2@arm.com, bruce.richardson@intel.com, jia.guo@intel.com, helin.zhang@intel.com Date: Fri, 16 Oct 2020 17:44:26 +0800 Message-Id: <20201016094431.96889-1-jia.guo@intel.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200827075452.1751-1-jia.guo@intel.com> References: <20200827075452.1751-1-jia.guo@intel.com> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v5 0/5] fix vector rx burst for PMDs 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" The limitation of burst size in vector rx was removed, since it should retrieve as much received packets as possible. And also the scattered receive path should use a wrapper function to achieve the goal of burst maximizing. This patch set aims to maximize vector rx burst for for ixgbe/i40e/ice/iavf/fm10k PMDs. Bugzilla ID: 516 v5->v4: split patch set, this patch only for max burst size issue. Add back Acked-by which has been added at v2. v4->v3: add Fixes tag. v3->v2: 1:move define into header file. 2:delete some useless doc. v2->v1: 1:add fm10k driver case 2:refine some doc Jeff Guo (5): net/ixgbe: fix vector rx burst for ixgbe net/i40e: fix vector rx burst for i40e net/ice: fix vector rx burst for ice net/fm10k: fix vector rx burst for fm10k net/iavf: fix vector rx burst for iavf drivers/net/fm10k/fm10k_rxtx_vec.c | 39 +++++++-- drivers/net/i40e/i40e_rxtx_vec_altivec.c | 59 +++++++++---- drivers/net/i40e/i40e_rxtx_vec_neon.c | 48 ++++++++--- drivers/net/i40e/i40e_rxtx_vec_sse.c | 48 ++++++++--- drivers/net/iavf/iavf_rxtx_vec_sse.c | 103 +++++++++++++++++------ drivers/net/ice/ice_rxtx_vec_sse.c | 46 +++++++--- drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c | 61 +++++++++----- drivers/net/ixgbe/ixgbe_rxtx_vec_sse.c | 47 +++++++---- 8 files changed, 328 insertions(+), 123 deletions(-) Acked-by: Qi Zhang