From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7B773A04B6; Thu, 17 Sep 2020 10:01:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CF6D51D588; Thu, 17 Sep 2020 10:01:39 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id B9C5D1D570 for ; Thu, 17 Sep 2020 10:01:35 +0200 (CEST) IronPort-SDR: Teb8buicLRD7HsksDmnrF3reGLUGiBY9hqe906/ZKhq2K8lHXA5lwgA97mn6CYfSxs4Dzqm6Nn q6TYiLdCx1dw== X-IronPort-AV: E=McAfee;i="6000,8403,9746"; a="159703262" X-IronPort-AV: E=Sophos;i="5.76,436,1592895600"; d="scan'208";a="159703262" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Sep 2020 01:01:23 -0700 IronPort-SDR: 5RnsecCNYaSqAZmtOuDIkmh99JpDgN4/WGaTfD5JYpp8epSFcwmou3zqWpFI8HFw5TIEs81LfR OugjEdJREXdA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,436,1592895600"; d="scan'208";a="320136101" Received: from npg-dpdk-cvl-jeffguo-01.sh.intel.com ([10.67.111.128]) by orsmga002.jf.intel.com with ESMTP; 17 Sep 2020 01:01:20 -0700 From: Jeff Guo To: qiming.yang@intel.com, beilei.xing@intel.com, qi.z.zhang@intel.com, jingjing.wu@intel.com, haiyue.wang@intel.com Cc: wei.zhao1@intel.com, bruce.richardson@intel.com, dev@dpdk.org, jia.guo@intel.com, helin.zhang@intel.com, mb@smartsharesystems.com, ferruh.yigit@intel.com, stephen@networkplumber.org, barbette@kth.se Date: Thu, 17 Sep 2020 15:58:29 +0800 Message-Id: <20200917075834.60034-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 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v4 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, and also do some code cleaning. Bugzilla ID: 516 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/iavf: fix vector rx burst for iavf 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 drivers/net/fm10k/fm10k_rxtx_vec.c | 42 ++++++-- drivers/net/i40e/i40e_rxtx.h | 1 + drivers/net/i40e/i40e_rxtx_vec_altivec.c | 64 +++++++----- drivers/net/i40e/i40e_rxtx_vec_avx2.c | 29 +++--- drivers/net/i40e/i40e_rxtx_vec_neon.c | 58 +++++++---- drivers/net/i40e/i40e_rxtx_vec_sse.c | 58 +++++++---- drivers/net/iavf/iavf_rxtx.h | 1 + drivers/net/iavf/iavf_rxtx_vec_avx2.c | 78 +++++++-------- drivers/net/iavf/iavf_rxtx_vec_sse.c | 119 +++++++++++++++-------- drivers/net/ice/ice_rxtx.h | 1 + drivers/net/ice/ice_rxtx_vec_avx2.c | 23 +++-- drivers/net/ice/ice_rxtx_vec_sse.c | 56 +++++++---- drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c | 77 ++++++++------- drivers/net/ixgbe/ixgbe_rxtx_vec_sse.c | 61 +++++++----- 14 files changed, 412 insertions(+), 256 deletions(-) -- 2.20.1