Pktgen Application - Chelsio Communications Terminator Series Installation And User Manual

Unified wire for linux
Hide thumbs Also See for Terminator Series:
Table of Contents

Advertisement

Chapter XXIV. DPDK Driver
Testpmd
i.
This method involves using the mtu command, which changes the MTU of an individual port
without having to stop the selected port. To configure each port individually, run the mtu
command as follows:
testpmd> port config mtu 0 9000
testpmd> port config mtu 1 9000
ii. This method involves stopping all the ports first and then running max-pkt-len command to
configure the MTU of all the ports with a single command.To configure all the ports at once,
stop all the ports first and run the max-pkt-len command as follows:
testpmd> port stop all
testpmd> port config all max-pkt-len 9000
6.2.

Pktgen Application

Pktgen is a traffic generator application capable of displaying real time metrics for ports and can
handle packets with UDP, TCP, ARP, ICMP, GRE, MPLS and Queue-in-Queue. The application
can run command scripts to set up repeatable test cases.
The pktgen application has been modified to disable packet classification, to reflect
Note
correct Rx rate as packet classification is an expensive operation.
Syntax
Execute the following command to run Pktgen application. Observe unidirectional pkts/sec and
throughput performance under tool output:
[root@host~]# pktgen -c <coremask> -J -n <channels> -- -T -P -m
"<[cores]>.<port_id>" -N
Where,
-c <coremask>
-n <channels>
-T
-P
-m <[cores]>.<port_id>
-N
-J
Chelsio Unified Wire for Linux
: A hexadecimal bit mask of the cores to run on. Note that core
numbering can change between platforms and should be determined
beforehand.
: Number of memory channels per processor socket.
: Enable pktgen themes.
: Enable PROMISCUOUS mode on all ports.
: Map CPU logical cores to Chelsio ports.
: Enable NUMA support.
: Enable Jumbo mode.
341

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Terminator Series and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Terminator 6

Table of Contents