From patchwork Thu Aug 27 10:10:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Guo, Jia" X-Patchwork-Id: 76078 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 B7705A04B1; Thu, 27 Aug 2020 12:13:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0032C1C193; Thu, 27 Aug 2020 12:13:11 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id A06F01C191 for ; Thu, 27 Aug 2020 12:13:09 +0200 (CEST) IronPort-SDR: fikcGuVvN4pobjIyC0TQADv1mCXam4grn2KvPa4jkB0mLM+t9fwpzlLjXrI18V86i42Tb2wtg1 EiVTUqgoD6dA== X-IronPort-AV: E=McAfee;i="6000,8403,9725"; a="155712647" X-IronPort-AV: E=Sophos;i="5.76,359,1592895600"; d="scan'208";a="155712647" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Aug 2020 03:13:08 -0700 IronPort-SDR: y2voYv3DtP36yh1w2FkIPGKrxRrwic3zHruNkDQCm3+RvGVYpowW/yTYRoaA5Fi8sY7OYgzYnM J3P1GfRTOkSw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,359,1592895600"; d="scan'208";a="475150416" Received: from npg-dpdk-cvl-jeffguo-01.sh.intel.com ([10.67.111.128]) by orsmga005.jf.intel.com with ESMTP; 27 Aug 2020 03:13:05 -0700 From: Jeff Guo To: qiming.yang@intel.com, beilei.xing@intel.com, wei.zhao1@intel.com, qi.z.zhang@intel.com, jingjing.wu@intel.com Cc: bruce.richardson@intel.com, dev@dpdk.org, jia.guo@intel.com, helin.zhang@intel.com, mb@smartsharesystems.com, ferruh.yigit@intel.com, barbette@kth.se Date: Thu, 27 Aug 2020 18:10:03 +0800 Message-Id: <20200827101008.76906-1-jia.guo@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2 0/5] maximize 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. v2->v1: 1:add fm10k driver case 2:refine some doc Jeff Guo (5): net/ixgbe: maximize vector rx burst for ixgbe net/i40e: maximize vector rx burst for i40e net/ice: maximize vector rx burst for ice net/iavf: maximize vector rx burst for iavf net/fm10k: maximize vector rx burst for fm10k drivers/net/fm10k/fm10k_rxtx_vec.c | 39 +++++++-- drivers/net/i40e/i40e_rxtx_vec_altivec.c | 61 ++++++++----- drivers/net/i40e/i40e_rxtx_vec_avx2.c | 13 +-- drivers/net/i40e/i40e_rxtx_vec_neon.c | 55 +++++++----- drivers/net/i40e/i40e_rxtx_vec_sse.c | 55 +++++++----- drivers/net/iavf/iavf_rxtx_vec_avx2.c | 21 +---- drivers/net/iavf/iavf_rxtx_vec_sse.c | 107 ++++++++++++++--------- drivers/net/ice/ice_rxtx_vec_avx2.c | 11 +-- drivers/net/ice/ice_rxtx_vec_sse.c | 49 +++++++---- drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c | 72 +++++++-------- drivers/net/ixgbe/ixgbe_rxtx_vec_sse.c | 56 ++++++------ 11 files changed, 312 insertions(+), 227 deletions(-) Acked-by: Morten Brørup