From mboxrd@z Thu Jan 1 00:00:00 1970 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) From: =?UTF-8?Q?I=c3=b1aki_Murillo?= To: dev@dpdk.org Message-ID: <570CB0E3.7010709@ehu.eus> Date: Tue, 12 Apr 2016 10:25:07 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4 (smtp2); Tue, 12 Apr 2016 10:26:00 +0200 (CEST) X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-22254.005 X-TM-AS-Result: No--1.442-7.0-31-1 X-imss-scan-details: No--1.442-7.0-31-1 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4 (postfix.imss71); Tue, 12 Apr 2016 10:26:01 +0200 (CEST) Subject: [dpdk-dev] Pktgen rate issue 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: Tue, 12 Apr 2016 08:26:01 -0000 Hello I have been using pktgen for a while and I released that there is no 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 a uint8_t. So, I made a quick-and-dirty change just to check if it is possible to get a speed between two hole numbers. It seemed to work properly. Is there a reason to use an uint8_t instead of a float, for example? Thank you, IƱaki Murillo