From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?I=c3=b1aki_Murillo?= Subject: Pktgen rate issue Date: Tue, 12 Apr 2016 10:25:07 +0200 Message-ID: <570CB0E3.7010709@ehu.eus> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable To: dev@dpdk.org Return-path: Received: from smtp.ehu.eus (smtp.lg.ehu.es [158.227.0.66]) by dpdk.org (Postfix) with ESMTP id 890BB2E83 for ; Tue, 12 Apr 2016 10:26:01 +0200 (CEST) Received: from smtp.ehu.eus (localhost.localdomain [127.0.0.1]) by postfix.imss71 (Postfix) with ESMTP id BF37A612E for ; Tue, 12 Apr 2016 10:26:00 +0200 (CEST) Received: from [158.227.98.37] (unknown [158.227.98.37]) by smtp2 (Postfix) with ESMTPSA id B01B4611E for ; Tue, 12 Apr 2016 10:26:00 +0200 (CEST) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hello I have been using pktgen for a while and I released that there is no=20 possibility to set a rate between two whole numbers. I looked up the source code and I found out that the rate is stored in=20 a uint8_t. So, I made a quick-and-dirty change just to check if it is=20 possible to get a speed between two hole numbers. It seemed to work=20 properly. Is there a reason to use an uint8_t instead of a float, for example? Thank you, I=C3=B1aki Murillo