From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 550855A38 for ; Wed, 5 Aug 2015 11:31:27 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP; 05 Aug 2015 02:31:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,615,1432623600"; d="scan'208";a="762328943" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by fmsmga001.fm.intel.com with ESMTP; 05 Aug 2015 02:31:26 -0700 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.223]) by IRSMSX102.ger.corp.intel.com ([169.254.2.158]) with mapi id 14.03.0224.002; Wed, 5 Aug 2015 10:31:24 +0100 From: "Ananyev, Konstantin" To: "Liang, Cunming" , "dev@dpdk.org" Thread-Topic: [PATCH v3] ixgbe: remove vector pmd burst size restriction Thread-Index: AQHQzqtTbzzJEMsnHE2onPntvB3bhZ39JVzg Date: Wed, 5 Aug 2015 09:31:23 +0000 Message-ID: <2601191342CEEE43887BDE71AB97725836A6DF18@irsmsx105.ger.corp.intel.com> References: <1438673558-13284-1-git-send-email-cunming.liang@intel.com> <1438688832-15396-1-git-send-email-cunming.liang@intel.com> In-Reply-To: <1438688832-15396-1-git-send-email-cunming.liang@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v3] ixgbe: remove vector pmd burst size restriction X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Aug 2015 09:31:28 -0000 > -----Original Message----- > From: Liang, Cunming > Sent: Tuesday, August 04, 2015 12:47 PM > To: dev@dpdk.org > Cc: Ananyev, Konstantin; zoltan.kiss@linaro.org; Liang, Cunming > Subject: [PATCH v3] ixgbe: remove vector pmd burst size restriction >=20 > On receive side, the burst size now floor aligns to RTE_IXGBE_DESCS_PER_L= OOP power of 2. > According to this rule, the burst size less than 4 still won't receive an= ything. > (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) pack= ets. >=20 > On transmit side, the max burst size no longer bind with a constant, howe= ver it still > require to check the cross tx_rs_thresh violation. >=20 > There's no obvious performance drop found on both recv_pkts_vec > and recv_scattered_pkts_vec on burst size 32. >=20 > Signed-off-by: Cunming Liang > --- > v3 change: > - reword the init print log >=20 > v2 change: > - keep max rx burst size in 32 > - reword some comments >=20 > drivers/net/ixgbe/ixgbe_rxtx.c | 4 +++- > drivers/net/ixgbe/ixgbe_rxtx.h | 5 ++--- > drivers/net/ixgbe/ixgbe_rxtx_vec.c | 39 +++++++++++++++++++++-----------= ------ > 3 files changed, 27 insertions(+), 21 deletions(-) >=20 Acked-by: Konstantin Ananyev