[dpdk-users] pktgen random function and ip checksum

Wiles, Keith keith.wiles at intel.com
Thu Jun 30 18:30:44 CEST 2016


The random function has a bug right now; the IP checksum is not updated if you randomize the headers. If you the range function then the checksum should be correct.

Regards,
Keith



On 6/30/16, 9:15 AM, "users on behalf of Александр Киселев" <users-bounces at dpdk.org on behalf of kiselev99 at gmail.com> wrote:

Hello!

I am using random pktgen function to generate random udp src ports and ip
src addresses of packets.
The random function works fine but all the packets with random data are
comming with bad ip checksum.
Is it a bug or have I missed something?

I am using Pktgen Ver: 3.0.02 (DPDK 16.04.0).


--
Kiselev Alexander






More information about the users mailing list