[dpdk-dev] Pktgen rate issue
Wiles, Keith
keith.wiles at intel.com
Tue Apr 12 14:55:19 CEST 2016
>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?
The uint8_t was easier then using floats :-)
If you have a patch for this change please send it along and I will look at adding the support.
>
>Thank you,
>
>IƱaki Murillo
>
Regards,
Keith
More information about the dev
mailing list