DPDK patches and discussions
 help / color / mirror / Atom feed
From: Jun Han <junhanece@gmail.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] DPDK pktgen
Date: Sat, 22 Mar 2014 03:50:00 +0100	[thread overview]
Message-ID: <CAGeT4PK0r8cHsCC07J6svo+u=2j43tCy_0P6HTE=tvsiTR47MQ@mail.gmail.com> (raw)

Hi

I have a quick question about using your DPDK pktgen. I want to
sequentially increase the destination IP address so I modified the .lua
file in the following way. However, as I am printing the contents of IP
header in the other machine, I find that the IP address does not keep
incrementing all the way to 255.255.255.0 but quickly rolls back to some
other IP address. (e.g., from 5.54.0 to 0.1.180.0, or from 0.1.145.0 to
0.6.24.0 as shown below in bold fonts.) Do you know what could be the
problem? Am I implementing this lua file incorrectly? Thank you.

----- Part of .lua file ----

pktgen.set("0", "size", 64);

pktgen.dst_ip("0", "start", "0.0.0.0");

pktgen.dst_ip("0", "inc", "0.0.1.0");

pktgen.dst_ip("0", "min", "0.0.0.0");

pktgen.dst_ip("0", "max", "10.255.255.255");


------- output of received packet header dst ip address on the machine
receiving the packets -----

IP=0x390500, IP=0.5.57.0

IP=0x380500, IP=0.5.56.0

IP=0x370500, IP=0.5.55.0

*IP=0x360500, IP=0.5.54.0*

*IP=0xb40100, IP=0.1.180.0*

IP=0xb30100, IP=0.1.179.0

IP=0xb20100, IP=0.1.178.0

IP=0xb00100, IP=0.1.176.0

IP=0xac0100, IP=0.1.172.0

IP=0xab0100, IP=0.1.171.0

IP=0xaa0100, IP=0.1.170.0

IP=0xa90100, IP=0.1.169.0

IP=0xa80100, IP=0.1.168.0

IP=0xa70100, IP=0.1.167.0

IP=0xa60100, IP=0.1.166.0

IP=0xa50100, IP=0.1.165.0

IP=0xa40100, IP=0.1.164.0

IP=0xa30100, IP=0.1.163.0

IP=0xa20100, IP=0.1.162.0

IP=0xa10100, IP=0.1.161.0

IP=0xa00100, IP=0.1.160.0

IP=0x9f0100, IP=0.1.159.0

IP=0x9e0100, IP=0.1.158.0

IP=0x9d0100, IP=0.1.157.0

IP=0x9c0100, IP=0.1.156.0

IP=0x9b0100, IP=0.1.155.0

IP=0x9a0100, IP=0.1.154.0

IP=0x990100, IP=0.1.153.0

IP=0x980100, IP=0.1.152.0

IP=0x970100, IP=0.1.151.0

IP=0x960100, IP=0.1.150.0

IP=0x950100, IP=0.1.149.0

IP=0x940100, IP=0.1.148.0

IP=0x930100, IP=0.1.147.0

IP=0x920100, IP=0.1.146.0

*IP=0x910100, IP=0.1.145.0*

*IP=0x180600, IP=0.6.24.0*

IP=0x170600, IP=0.6.23.0

IP=0x160600, IP=0.6.22.0

IP=0x140600, IP=0.6.20.0

IP=0x100600, IP=0.6.16.0

IP=0xf0600, IP=0.6.15.0

IP=0xe0600, IP=0.6.14.0

IP=0xd0600, IP=0.6.13.0

IP=0xc0600, IP=0.6.12.0

IP=0xb0600, IP=0.6.11.0

IP=0xa0600, IP=0.6.10.0

IP=0x90600, IP=0.6.9.0

IP=0x80600, IP=0.6.8.0

IP=0x70600, IP=0.6.7.0

IP=0x60600, IP=0.6.6.0

IP=0x50600, IP=0.6.5.0

IP=0x40600, IP=0.6.4.0

IP=0x30600, IP=0.6.3.0

IP=0x20600, IP=0.6.2.0

IP=0x10600, IP=0.6.1.0

IP=0x600, IP=0.6.0.0

IP=0xff0500, IP=0.5.255.0

IP=0xfe0500, IP=0.5.254.0

IP=0xfd0500, IP=0.5.253.0

IP=0xfc0500, IP=0.5.252.0

IP=0xfb0500, IP=0.5.251.0

IP=0xfa0500, IP=0.5.250.0

IP=0xf90500, IP=0.5.249.0

IP=0xf80500, IP=0.5.248.0

IP=0xf70500, IP=0.5.247.0

IP=0xf60500, IP=0.5.246.0

IP=0xf50500, IP=0.5.245.0

IP=0x6a0200, IP=0.2.106.0

IP=0x690200, IP=0.2.105.0

IP=0x680200, IP=0.2.104.0

IP=0x660200, IP=0.2.102.0

IP=0x620200, IP=0.2.98.0

IP=0x610200, IP=0.2.97.0

IP=0x600200, IP=0.2.96.0

IP=0x5f0200, IP=0.2.95.0

IP=0x5e0200, IP=0.2.94.0

IP=0x5d0200, IP=0.2.93.0

IP=0x5c0200, IP=0.2.92.0

IP=0x5b0200, IP=0.2.91.0

IP=0x5a0200, IP=0.2.90.0

IP=0x590200, IP=0.2.89.0

IP=0x580200, IP=0.2.88.0

IP=0x570200, IP=0.2.87.0

IP=0x560200, IP=0.2.86.0

IP=0x550200, IP=0.2.85.0

IP=0x540200, IP=0.2.84.0

IP=0x530200, IP=0.2.83.0

IP=0x520200, IP=0.2.82.0

IP=0x510200, IP=0.2.81.0

IP=0x500200, IP=0.2.80.0

IP=0x4f0200, IP=0.2.79.0

IP=0x4e0200, IP=0.2.78.0

IP=0x4d0200, IP=0.2.77.0

IP=0x4c0200, IP=0.2.76.0

IP=0x4b0200, IP=0.2.75.0

IP=0x4a0200, IP=0.2.74.0

IP=0x490200, IP=0.2.73.0

IP=0x480200, IP=0.2.72.0

IP=0x470200, IP=0.2.71.0

IP=0xb70600, IP=0.6.183.0

IP=0xb60600, IP=0.6.182.0

IP=0xb50600, IP=0.6.181.0

IP=0xb30600, IP=0.6.179.0

IP=0xaf0600, IP=0.6.175.0

IP=0xae0600, IP=0.6.174.0

IP=0xad0600, IP=0.6.173.0

IP=0xac0600, IP=0.6.172.0

IP=0xab0600, IP=0.6.171.0

IP=0xaa0600, IP=0.6.170.0

IP=0xa90600, IP=0.6.169.0

IP=0xa80600, IP=0.6.168.0

IP=0xa70600, IP=0.6.167.0

IP=0xa60600, IP=0.6.166.0

IP=0xa50600, IP=0.6.165.0

IP=0xa40600, IP=0.6.164.0

IP=0xa30600, IP=0.6.163.0

IP=0xa20600, IP=0.6.162.0

IP=0xa10600, IP=0.6.161.0

IP=0xa00600, IP=0.6.160.0

IP=0x9f0600, IP=0.6.159.0

IP=0x9e0600, IP=0.6.158.0

IP=0x9d0600, IP=0.6.157.0

IP=0x9c0600, IP=0.6.156.0

IP=0x9b0600, IP=0.6.155.0

IP=0x9a0600, IP=0.6.154.0

IP=0x990600, IP=0.6.153.0

IP=0x980600, IP=0.6.152.0

IP=0x970600, IP=0.6.151.0

IP=0x960600, IP=0.6.150.0

IP=0x950600, IP=0.6.149.0

IP=0x940600, IP=0.6.148.0

IP=0x130300, IP=0.3.19.0

IP=0x120300, IP=0.3.18.0

IP=0x110300, IP=0.3.17.0

IP=0xf0300, IP=0.3.15.0

IP=0xb0300, IP=0.3.11.0

IP=0xa0300, IP=0.3.10.0

IP=0x90300, IP=0.3.9.0

IP=0x80300, IP=0.3.8.0

IP=0x70300, IP=0.3.7.0

IP=0x60300, IP=0.3.6.0

IP=0x50300, IP=0.3.5.0

IP=0x40300, IP=0.3.4.0

IP=0x30300, IP=0.3.3.0

IP=0x20300, IP=0.3.2.0

IP=0x10300, IP=0.3.1.0

IP=0x300, IP=0.3.0.0

IP=0xff0200, IP=0.2.255.0

IP=0xfe0200, IP=0.2.254.0

IP=0xfd0200, IP=0.2.253.0

IP=0xfc0200, IP=0.2.252.0

IP=0xfb0200, IP=0.2.251.0

IP=0xfa0200, IP=0.2.250.0

IP=0xf90200, IP=0.2.249.0

IP=0xf80200, IP=0.2.248.0

IP=0xf70200, IP=0.2.247.0

IP=0xf60200, IP=0.2.246.0

IP=0xf50200, IP=0.2.245.0

IP=0xf40200, IP=0.2.244.0

IP=0xf30200, IP=0.2.243.0

IP=0xf20200, IP=0.2.242.0

IP=0xf10200, IP=0.2.241.0

IP=0xf00200, IP=0.2.240.0

IP=0x750700, IP=0.7.117.0

IP=0x740700, IP=0.7.116.0

IP=0x730700, IP=0.7.115.0

IP=0x710700, IP=0.7.113.0

IP=0x6e0700, IP=0.7.110.0

IP=0x6d0700, IP=0.7.109.0

IP=0x6c0700, IP=0.7.108.0

IP=0x6b0700, IP=0.7.107.0

IP=0x6a0700, IP=0.7.106.0

IP=0x690700, IP=0.7.105.0

IP=0x680700, IP=0.7.104.0

IP=0x670700, IP=0.7.103.0

IP=0x660700, IP=0.7.102.0

IP=0x650700, IP=0.7.101.0

IP=0x640700, IP=0.7.100.0

IP=0x630700, IP=0.7.99.0

IP=0x620700, IP=0.7.98.0

IP=0x610700, IP=0.7.97.0

IP=0x600700, IP=0.7.96.0

IP=0x5f0700, IP=0.7.95.0

IP=0x5e0700, IP=0.7.94.0

IP=0x5d0700, IP=0.7.93.0

IP=0x5c0700, IP=0.7.92.0

IP=0x5b0700, IP=0.7.91.0

IP=0x5a0700, IP=0.7.90.0

IP=0x590700, IP=0.7.89.0

IP=0x580700, IP=0.7.88.0

IP=0x570700, IP=0.7.87.0

IP=0x560700, IP=0.7.86.0

IP=0x550700, IP=0.7.85.0

IP=0x540700, IP=0.7.84.0

IP=0x530700, IP=0.7.83.0

                 reply	other threads:[~2014-03-22  2:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGeT4PK0r8cHsCC07J6svo+u=2j43tCy_0P6HTE=tvsiTR47MQ@mail.gmail.com' \
    --to=junhanece@gmail.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).