From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ernst.netinsight.se (ernst.netinsight.se [194.16.221.21]) by dpdk.org (Postfix) with SMTP id 0B1FD8E7B for ; Wed, 4 Nov 2015 08:51:11 +0100 (CET) Received: from [10.100.1.152] (unverified [10.100.1.152]) by ernst.netinsight.se (EMWAC SMTPRS 0.83) with SMTP id ; Wed, 04 Nov 2015 08:51:04 +0100 To: thomas.monjalon@6wind.com References: <20151020152055.1600b6d5@miho> From: =?UTF-8?Q?Simon_K=c3=a5gstr=c3=b6m?= Message-ID: <5639B8E7.3070702@netinsight.net> Date: Wed, 4 Nov 2015 08:51:03 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151020152055.1600b6d5@miho> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] rte_ether: clarify rte_eth_set_queue_rate_limit tx_rate parameter 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, 04 Nov 2015 07:51:11 -0000 Ping? // Simon On 2015-10-20 15:20, Simon Kagstrom wrote: > The tx_rate unit is Mbps. > > Gleaned from the ixgbe implementation, the 82599 datasheet and the use > in test-pmd. > > Signed-off-by: Simon Kagstrom > --- > lib/librte_ether/rte_ethdev.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h > index 8a8c82b..ff9aab7 100644 > --- a/lib/librte_ether/rte_ethdev.h > +++ b/lib/librte_ether/rte_ethdev.h > @@ -3021,7 +3021,7 @@ int rte_eth_mirror_rule_reset(uint8_t port_id, > * @param queue_idx > * The queue id. > * @param tx_rate > - * The tx rate allocated from the total link speed for this queue. > + * The tx rate in Mbps. Allocated from the total port link speed. > * @return > * - (0) if successful. > * - (-ENOTSUP) if hardware doesn't support this feature. >