| /f-stack/dpdk/devtools/ |
| H A D | test-null.sh | 9 testpmd=$1 # or first argument can be the testpmd path 14 [ -f "$testpmd" ] && build=$(dirname $(dirname $testpmd)) 15 [ -f "$testpmd" ] || testpmd=$build/app/dpdk-testpmd 16 [ -f "$testpmd" ] || testpmd=$build/app/testpmd 17 if [ ! -f "$testpmd" ] ; then 22 if ldd $testpmd | grep -q librte_ ; then 30 $testpmd -c $coremask --no-huge -m 20 \
|
| /f-stack/dpdk/doc/guides/howto/ |
| H A D | lm_bond_virtio_sriov.rst | 133 testpmd> port start 2 148 testpmd> set portlist 2 150 testpmd> set fwd mac 151 testpmd> start 180 testpmd> port stop 1 181 testpmd> port close 1 190 testpmd> port detach 1 302 testpmd> 339 testpmd> port start 1 360 testpmd> port stop 0 [all …]
|
| H A D | virtio_user_as_exceptional_path.rst | 54 #. Run testpmd. 58 $(testpmd) -l 2-3 -n 4 \ 63 This command runs testpmd with two ports, one physical NIC to communicate 82 $(testpmd) -l 2-3 -n 4 \ 87 #. Enable Rx checksum offloads in testpmd: 91 (testpmd) port stop 0 92 (testpmd) port config 0 rx_offload tcp_cksum on 93 (testpmd) port config 0 rx_offload udp_cksum on 94 (testpmd) port start 0 96 #. Start testpmd: [all …]
|
| H A D | vfd.rst | 86 dpdk-testpmd -l 0-7 -n 4 -- -i --txqflags=0 94 dpdk-testpmd -l 0-7 -n 4 -- -i --txqflags=0 101 above testpmd setup. 107 Run a testpmd runtime command on the PF to set TX loopback:: 134 Run a testpmd runtime command on the PF to enable/disable the MAC 146 Run a testpmd runtime command on the PF to enable/disable the VLAN 190 These two testpmd runtime commands can be used to add or remove the VLAN 205 Run a testpmd runtime command on the PF to enable/disable the all queues 232 Run a testpmd runtime command on the PF to all queues' rate limit for a 320 Run a testpmd runtime command on the PF to enable/disable MAC multicast [all …]
|
| H A D | packet_capture_framework.rst | 36 In DPDK the ``testpmd`` application can be used to initialize the packet 38 client. To view Rx or Tx packets of ``testpmd``, the application should be 39 launched first, and then the ``dpdk-pdump`` tool. Packets from ``testpmd`` 48 dpdk, only ``testpmd`` is modified to initialize packet capture framework, 50 be used with any application other than the testpmd, the user needs to 52 initialization code. Refer to the ``app/test-pmd/testpmd.c`` code and look 79 #. Launch testpmd as the primary application:: 81 sudo <build_dir>/app/dpdk-testpmd -c 0xf0 -n 4 -- -i --port-topology=chained
|
| H A D | pvp_reference_benchmark.rst | 6 PVP reference benchmark setup using testpmd 9 This guide lists the steps required to setup a PVP benchmark using testpmd as 38 node. Two cores are assigned to the VM vCPUs running testpmd and four are 39 assigned to testpmd on the host. 121 #. Launch the testpmd application: 125 <build_dir>/app/dpdk-testpmd -l 0,2,3,4,5 --socket-mem=1024 -n 4 \ 133 #. In testpmd interactive mode, set the portlist to obtain the correct port 151 created by testpmd. Below example uses default Virtio-net options, but options 188 First, SELinux policy needs to be set to permissive, since testpmd is 331 Start testpmd: [all …]
|
| H A D | lm_virtio_vhost_user.rst | 112 Setup DPDK in the VM and run testpmd in the VM. 120 testpmd> show port info all 121 testpmd> set fwd mac retry 122 testpmd> start tx_first 123 testpmd> show port stats all 223 Hit Enter key. This brings the user to the testpmd prompt. 227 testpmd> 246 testpmd> show port info all 247 testpmd> show port stats all 437 # Run testpmd for use with vhost_user sample app. [all …]
|
| H A D | virtio_user_for_container_networking.rst | 74 docker build -t dpdk-app-testpmd . 76 #. Start a testpmd on the host with a vhost-user port. 80 $(testpmd) -l 0-1 -n 4 --socket-mem 1024,1024 \ 90 dpdk-app-testpmd testpmd -l 6-7 -n 4 -m 1024 --no-pci \
|
| H A D | rte_flow.rst | 24 testpmd command (wrapped for clarity):: 26 testpmd> flow create 0 ingress pattern eth / vlan / 118 This code is equivalent to the following testpmd command (wrapped for 121 testpmd> flow create 0 ingress pattern eth / vlan / 219 This code is equivalent to the following testpmd command (wrapped for 222 testpmd> flow create 0 ingress pattern eth / vlan vid spec 123 /
|
| /f-stack/dpdk/doc/guides/testpmd_app_ug/ |
| H A D | testpmd_funcs.rst | 14 testpmd> 51 testpmd> help 92 testpmd> 108 testpmd> 3386 testpmd> 3393 testpmd> 4062 testpmd> 4073 testpmd> 4084 testpmd> 4234 testpmd> [all …]
|
| H A D | intro.rst | 7 This document is a user guide for the ``testpmd`` example application that is shipped as part of th… 9 The ``testpmd`` application can be used to test the DPDK in a packet forwarding mode 13 The guide shows how to build and run the testpmd application and
|
| /f-stack/dpdk/doc/guides/nics/ |
| H A D | igc.rst | 50 To start ``testpmd``, add vlan 10 to port, set vlan stripping off on, set extend on, set TPID of 55 ./app/dpdk-testpmd -l 4-8 -- -i 58 testpmd> vlan set filter on 0 59 testpmd> rx_vlan add 10 0 60 testpmd> vlan set strip off 0 61 testpmd> vlan set extend on 0 62 testpmd> vlan set outer tpid 0x9100 0 78 Start ``testpmd``: 82 ./dpdk-testpmd -l 4-8 -- i --rxq=4 --txq=4 --pkt-filter-mode=perfect --disable-rss 88 testpmd> flow create 0 ingress pattern eth type is 0x801 / end actions queue index 1 / end [all …]
|
| H A D | build_and_test.rst | 16 Refer to the :ref:`testpmd application user guide <testpmd_ug>` for detailed 17 information on how to build and run testpmd. 24 This will also build testpmd. 29 Running testpmd in Linux 32 This section demonstrates how to setup and run ``testpmd`` in Linux. 105 #. Start ``testpmd`` with basic parameters: 109 ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 -- -i 112 testpmd application. A prompt will be displayed at the end for user commands 117 testpmd> 119 Refer to the :ref:`testpmd runtime functions <testpmd_runtime>` for a list [all …]
|
| H A D | memif.rst | 211 Example: testpmd 230 testpmd> start 233 testpmd> start tx_first 237 testpmd> show port stats 0 241 Example: testpmd and VPP 264 In testpmd set forward option to icmpecho and start forwarding:: 266 testpmd> set fwd icmpecho 267 testpmd> start 277 Example: testpmd memif loopback 288 testpmd> start tx_first [all …]
|
| H A D | cxgbe.rst | 409 Running testpmd 445 #. Running testpmd 449 to run testpmd. 478 testpmd> 558 #. Running testpmd 591 testpmd> 659 Running testpmd 788 testpmd> 804 testpmd as follows: 831 testpmd> port config mtu 0 9000 [all …]
|
| H A D | bnxt.rst | 179 testpmd> show port info (port_id) 242 testpmd> show port (port_id) macs 282 testpmd> show port info (port_id) 294 testpmd> show port info (port_id) 349 testpmd> port stop (port_id) 351 testpmd> set fwd csum 423 testpmd> tso show (port_id) 436 testpmd> tunnel_tso show (port_id) 575 testpmd> show port stats (port_id) 602 testpmd> show port xstats (port_id) [all …]
|
| H A D | kni.rst | 36 testpmd --vdev=net_kni0 --vdev=net_kn1 -- -i 41 When testpmd forwarding starts, any packets sent to ``kni0`` interface 80 testpmd --vdev "net_kni0,no_request_thread=1" -- -i 102 * Start testpmd with no physical device but two KNI virtual devices: 106 ./dpdk-testpmd --vdev net_kni0 --vdev net_kni1 -- -i 121 testpmd> 147 testpmd> start tx_first 153 testpmd> quit
|
| H A D | mvpp2.rst | 458 Before proceeding run testpmd user application: 550 1. Run testpmd user app: 566 testpmd> create port meter 0 0 0 yes d d d 0 1 0 629 1. Run testpmd as follows: 640 testpmd> port stop all 679 testpmd> add port tm leaf node 0 0 3 0 30 1 -1 0 0 1 0 699 testpmd> add port tm leaf node 0 1 3 0 60 1 -1 0 0 1 0 719 testpmd> add port tm leaf node 0 2 3 0 99 1 -1 0 0 1 0 739 testpmd> port tm hierarchy commit 0 no 750 testpmd> port start all [all …]
|
| H A D | null.rst | 17 ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 --vdev net_null0 --vdev net_null1 -- -i 29 ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 --vdev "net_null0,copy=1" -- -i 38 ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 --vdev "net_null0,size=256" -- -i
|
| H A D | i40e.rst | 295 #. Running testpmd: 299 to run testpmd. 324 testpmd> 342 testpmd> set promisc 0 off 343 testpmd> rx_vlan add 10 0 390 testpmd> show port fdir 0 510 testpmd> ddp del 0 ./backup.pkgo 516 testpmd> ddp get list 0 522 testpmd> ddp get info ./gtp.pkgo 557 testpmd> show port (port_id) queue-region [all …]
|
| H A D | pcap_ring.rst | 43 ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 \ 142 ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 \ 150 ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 \ 158 ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 \ 166 ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 \ 173 ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 \ 181 ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 \ 184 Using libpcap-based PMD with the testpmd Application 206 ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 \ 238 testpmd> start tx_first [all …]
|
| H A D | vhost.rst | 84 Vhost PMD with testpmd application 87 This section demonstrates vhost PMD with testpmd DPDK sample application. 89 #. Launch the testpmd with vhost PMD: 93 ./dpdk-testpmd -l 0-3 -n 4 --vdev 'net_vhost0,iface=/tmp/sock0,queues=1' -- -i
|
| H A D | octeontx.rst | 62 #. Running testpmd: 66 to run testpmd. 72 ./<build_dir>/app/dpdk-testpmd -c 700 \ 105 testpmd> 168 When running testpmd on OCTEON TX the application can limit the number of mbufs
|
| H A D | ipn3ke.rst | 76 To start ``testpmd``, and add I40e PF to FPGA network port: 80 …./<build_dir>/app/dpdk-testpmd -l 0-15 -n 4 --vdev 'ifpga_rawdev_cfg0,ifpga=b3:00.0,port=0' --vdev… 87 To start ``testpmd``, and add I40e PF to FPGA network port, enable FPGA HQoS and Flow Acceleration: 91 …./<build_dir>/app/dpdk-testpmd -l 0-15 -n 4 --vdev 'ifpga_rawdev_cfg0,ifpga=b3:00.0,port=0' --vdev…
|
| /f-stack/dpdk/app/test-pmd/ |
| H A D | meson.build | 5 name = 'testpmd' 23 'testpmd.c',
|