* [dpdk-users] pktgen random function and ip checksum
@ 2016-06-30 14:15 Александр Киселев
2016-06-30 16:30 ` Wiles, Keith
0 siblings, 1 reply; 2+ messages in thread
From: Александр Киселев @ 2016-06-30 14:15 UTC (permalink / raw)
To: users
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-users] pktgen random function and ip checksum
2016-06-30 14:15 [dpdk-users] pktgen random function and ip checksum Александр Киселев
@ 2016-06-30 16:30 ` Wiles, Keith
0 siblings, 0 replies; 2+ messages in thread
From: Wiles, Keith @ 2016-06-30 16:30 UTC (permalink / raw)
To: Александр
Киселев,
users
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@dpdk.org on behalf of kiselev99@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-30 16:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-30 14:15 [dpdk-users] pktgen random function and ip checksum Александр Киселев
2016-06-30 16:30 ` Wiles, Keith
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).