From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 2D320C604 for ; Thu, 25 Jun 2015 14:45:38 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 25 Jun 2015 05:45:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,677,1427785200"; d="scan'208";a="750258900" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by fmsmga002.fm.intel.com with ESMTP; 25 Jun 2015 05:45:36 -0700 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.245]) by IRSMSX152.ger.corp.intel.com ([169.254.6.90]) with mapi id 14.03.0224.002; Thu, 25 Jun 2015 13:45:35 +0100 From: "Ananyev, Konstantin" To: Zoltan Kiss , "dev@dpdk.org" Thread-Topic: [PATCH] ethdev: fix checking for tx_free_thresh Thread-Index: AQHQreR+5x1Z1WFsEk2KDyX+1rLDZJ29LaaA Date: Thu, 25 Jun 2015 12:45:35 +0000 Message-ID: <2601191342CEEE43887BDE71AB97725836A1DE80@irsmsx105.ger.corp.intel.com> References: <1435084992-12512-1-git-send-email-zoltan.kiss@linaro.org> In-Reply-To: <1435084992-12512-1-git-send-email-zoltan.kiss@linaro.org> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] ethdev: fix checking for tx_free_thresh 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: Thu, 25 Jun 2015 12:45:39 -0000 > -----Original Message----- > From: Zoltan Kiss [mailto:zoltan.kiss@linaro.org] > Sent: Tuesday, June 23, 2015 7:43 PM > To: dev@dpdk.org > Cc: Zoltan Kiss; Ananyev, Konstantin > Subject: [PATCH] ethdev: fix checking for tx_free_thresh >=20 > This parameter is not consistent between the drivers: some use it as > rte_eth_tx_burst() requires, some release buffers when the number of free > descriptors drop below this value. > Let's use it as most fast-path code does, which is the latter, and update > comments throughout the code to reflect that. >=20 > Signed-off-by: Zoltan Kiss > --- Acked-by: Konstantin Ananyev > -- > 1.9.1