[dpdk-dev] Pktgen rate issue

Iñaki Murillo inaki.murilloa at ehu.eus
Tue Apr 12 10:25:07 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?

Thank you,

Iñaki Murillo


More information about the dev mailing list