From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3] ixgbe: remove vector pmd burst size restriction Date: Wed, 09 Sep 2015 15:16:46 +0200 Message-ID: <1599776.hL0cxYYjgU@xps13> References: <1438673558-13284-1-git-send-email-cunming.liang@intel.com> <1438688832-15396-1-git-send-email-cunming.liang@intel.com> <2601191342CEEE43887BDE71AB97725836A6DF18@irsmsx105.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: "Liang, Cunming" Return-path: Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by dpdk.org (Postfix) with ESMTP id 449A75958 for ; Wed, 9 Sep 2015 15:17:55 +0200 (CEST) Received: by wicfx3 with SMTP id fx3so21452873wic.0 for ; Wed, 09 Sep 2015 06:17:55 -0700 (PDT) In-Reply-To: <2601191342CEEE43887BDE71AB97725836A6DF18@irsmsx105.ger.corp.intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > On receive side, the burst size now floor aligns to RTE_IXGBE_DESCS_PER_LOOP power of 2. > > According to this rule, the burst size less than 4 still won't receive anything. > > (Before this change, the burst size less than 32 can't receive anything.) > > _recv_*_pkts_vec returns no more than 32(RTE_IXGBE_RXQ_REARM_THRESH) packets. > > > > On transmit side, the max burst size no longer bind with a constant, however it still > > require to check the cross tx_rs_thresh violation. > > > > There's no obvious performance drop found on both recv_pkts_vec > > and recv_scattered_pkts_vec on burst size 32. > > > > Signed-off-by: Cunming Liang > > Acked-by: Konstantin Ananyev Applied, thanks