From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=mh0pcAqUxWOeb7kbmC8K1jNhsxhfks0yznIzxP+jqrk=; b=iF2JiRv1rgCtkhIB1IDP9DTSTqU/heSSa7f8YLey/qKtAyxQkIv46zpMmMrmsdf3S+ CRw1h3xbnITggLE4oEyk2mhhPfRStseRjGfmN//ppevWQHkfdKxe1eDbhzR0tEA4+STk iedD54JQAZkAjfX9uo2a/9bOJJdtujMTe4iUSvtOqZoklowm9LvNvzYpr39cjcdQvDmT 4yDv8rsyMSlFXCawoMaFOJWaHfvXQIf2TiN1nLkCf0cko0vN7LNNKNfdU986fAtFp9TS SmX3QS41DYOeNx5aCIOACrZUfK7Vh0+Z79aq5qkG5HtfGgdSg8Es4IDpQHnkXz1m+ibd Seow== X-Gm-Message-State: ALoCoQleBxF7KVjAQBdp/jkG81VuAoDcnyZDbard//nplnN3gwj9Pc5ZIyYe/ePS+lQgbdADC0H2 X-Received: by 10.194.238.39 with SMTP id vh7mr55971148wjc.109.1441804675038; Wed, 09 Sep 2015 06:17:55 -0700 (PDT) Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id t7sm3876431wia.9.2015.09.09.06.17.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Sep 2015 06:17:54 -0700 (PDT) From: Thomas Monjalon To: "Liang, Cunming" Date: Wed, 09 Sep 2015 15:16:46 +0200 Message-ID: <1599776.hL0cxYYjgU@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <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> <2601191342CEEE43887BDE71AB97725836A6DF18@irsmsx105.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org 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, 09 Sep 2015 13:17:55 -0000 > > 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