From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id AFA484B79 for ; Fri, 4 Nov 2016 13:23:20 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 04 Nov 2016 05:23:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,443,1473145200"; d="scan'208";a="1055162936" Received: from irsmsx110.ger.corp.intel.com ([163.33.3.25]) by orsmga001.jf.intel.com with ESMTP; 04 Nov 2016 05:23:19 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.210]) by irsmsx110.ger.corp.intel.com ([163.33.3.25]) with mapi id 14.03.0248.002; Fri, 4 Nov 2016 12:23:18 +0000 From: "De Lara Guarch, Pablo" To: "dev@dpdk.org" Thread-Topic: [PATCH] examples/l3fwd-power: fix inappropiate Rx queue count method Thread-Index: AQHSNi7LFgxiNPmh/ECP5ivgf8+wFKDIv88g Date: Fri, 4 Nov 2016 12:23:17 +0000 Message-ID: References: <1478217850-77177-1-git-send-email-pablo.de.lara.guarch@intel.com> In-Reply-To: <1478217850-77177-1-git-send-email-pablo.de.lara.guarch@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZjMxMzQ0NTktMTdhMC00YmE1LWJhYTgtOGM1Njg2NjU3ZjM0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IlwvOGlYT3VaeW0wY0EreDFpUnFOWnRcL0drTVlpajZjMGJWdkxKNzlaT1Yybz0ifQ== x-ctpclassification: CTP_IC 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] examples/l3fwd-power: fix inappropiate Rx queue count method 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: Fri, 04 Nov 2016 12:23:21 -0000 > -----Original Message----- > From: De Lara Guarch, Pablo > Sent: Friday, November 04, 2016 12:04 AM > To: dev@dpdk.org > Cc: De Lara Guarch, Pablo > Subject: [PATCH] examples/l3fwd-power: fix inappropiate Rx queue count > method >=20 > Since commit b4f3c136a179 ("net/ixgbe: support checksum flags in SSE vect= or > Rx"), > when HW IP Checksum is enabled, the RX vector function is available to us= e. > In case of L3fwd-power, since it is enabled, the RX vector function > was not used, but after this commit, it is. This has affected the way > to calculate how full an RX queue is, using rte_eth_rx_descriptor done > function, making the frequency to be at maximum, even when the frequency > is very low. >=20 > This commit reverts the way to know how full a queue is to the > previous way, using rte_eth_rx_queue_count(), making it work for both > vector and scalar RX functions. >=20 > Fixes: b451aa39db31 ("examples/l3fwd-power: use DD bit rather than RX > queue count") >=20 > Signed-off-by: Pablo de Lara NACK, after doing some more tests with other drivers, this solution does no= t work. Will send a documentation patch instead.