DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Wiles, Roger Keith" <keith.wiles@windriver.com>
To: "<dev@dpdk.org>" <dev@dpdk.org>
Subject: [dpdk-dev] Pktgen-DPDK now located on dpdk.org
Date: Sun, 31 Aug 2014 17:26:26 +0000	[thread overview]
Message-ID: <777966E6-FDF7-41EF-81A3-C27FEAFD8A85@windriver.com> (raw)

Hi Everyone,

I now have Pktgen-DPDK a traffic generator application using DPDK. You can get the code from here:

http://dpdk.org/browse/apps/pktgen-dpdk/

There is a README.md file that should explain how it is built, but I could have missed something as I was including DPDK with the Pktgen code as an example. Now I am trying to be more generic and not include DPDK or modify DPDK in anyway.

The license support is reasonable, please read it to make sure you agree.

Pktgen-DPDK is a ASCII based application using a few simple VT100 cursor commands for generating traffic on 10G interfaces at 64Byte wire rate speeds. I just added some color support to Pktgen and it may still contain some bugs, but it does add a bit of color.

BTW, MicroSoft Hyperterm is not fully VT100 compatible and should be avoided. I normally access the Ubuntu machine using x2go client (x2go.org) or xterm(via ssh or telnet) from my MacBook Pro. You can use x2go client on Windows to access your Linux machine. Should run on any Linux machine that supports DPDK and has the correct NICs.

Here is the basic screen layer using a 132x44 size xterm window. You need to make sure you view the screen with a fixed width font and some email systems do not show the emails in fixed width (Mac Mail).

I just show two ports in this example, but you can have any number of ports (4-6 is normal). The number of ports to be displayed at a give time is configurable, just type ‘help’ at the command line. If you have more ports then displayed you can page to the different port groups.

-------------------
- Ports 0-3 of 6   ** Main Page **  Copyright (c) <2010-2014>, Wind River Systems, Inc. Powered by Intel® DPDK
  Flags:Port    :   P-------------:0   P-------------:1
Link State      :      <UP-10000-FD>      <UP-10000-FD>                                          ---TotalRate---
Pkts/s  Rx      :                  0                  0                                                        0
        Tx      :                  0                  0                                                        0
MBits/s Rx/Tx   :                0/0                0/0                                                      0/0
Broadcast       :                  0                  0
Multicast       :                  0                  0
  64 Bytes      :                  0                  0
  65-127        :                  0                  0
  128-255       :                  0                  0
  256-511       :                  0                  0
  512-1023      :                  0                  0
  1024-1518     :                  0                  0
Runts/Jumbos    :                0/0                0/0
Errors Rx/Tx    :                0/0                0/0
Total Rx Pkts   :                  0                  0
      Tx Pkts   :                  0                  0
      Rx MBs    :                  0                  0
      Tx MBs    :                  0                  0
ARP/ICMP Pkts   :                0/0                0/0
                :
Tx Count/% Rate :       Forever/100%       Forever/100%
PktSize/Tx Burst:              64/16              64/16
Src/Dest Port   :          1234/5678          1234/5678
Pkt Type:VLAN ID:      IPv4/TCP:0001      IPv4/TCP:0001
Dst  IP Address :        192.168.1.1        192.168.0.1
Src  IP Address :     192.168.0.1/24     192.168.1.1/24
Dst MAC Address :  90:e2:ba:5a:f7:91  90:e2:ba:5a:f7:90
Src MAC Address :  90:e2:ba:5a:f7:90  90:e2:ba:5a:f7:91
-- Pktgen Ver:2.7.5(DPDK-1.7.0) -------------------------------------------------------------------------------------




Pktgen> 
————————

Also note you can use Lua to run scripts or command files with Pktgen.

Please send any bugs, patches or suggestions to me. Please add ‘[Pktgen]’ to the subject line.

Thanks
++Keith

Keith Wiles, Principal Technologist with CTO office, Wind River mobile 972-213-5533

                 reply	other threads:[~2014-08-31 17:22 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=777966E6-FDF7-41EF-81A3-C27FEAFD8A85@windriver.com \
    --to=keith.wiles@windriver.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).