Home
last modified time | relevance | path

Searched refs:testpmd (Results 1 – 25 of 88) sorted by relevance

1234

/dpdk/devtools/
H A Dtest-null.sh9 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 \
/dpdk/doc/guides/howto/
H A Dlm_bond_virtio_sriov.rst133 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 Dvirtio_user_as_exceptional_path.rst54 #. 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 Dvfd.rst86 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 Dpacket_capture_framework.rst41 The ``dpdk-testpmd`` application can be used to initialize
44 To view Rx or Tx packets of ``dpdk-testpmd``,
47 Packets from ``dpdk-testpmd`` will be sent to the tool,
54 dpdk, only ``testpmd`` is modified to initialize packet capture framework,
56 be used with any application other than the testpmd, the user needs to
58 initialization code. Refer to the ``app/test-pmd/testpmd.c`` code and look
90 #. Launch testpmd as the primary application::
92 sudo <build_dir>/app/dpdk-testpmd -c 0xf0 -n 4 -- -i --port-topology=chained
H A Dpvp_reference_benchmark.rst6 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 Dlm_virtio_vhost_user.rst112 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 Dtelemetry.rst43 #. Launch testpmd as the primary application with telemetry::
45 ./app/dpdk-testpmd
104 For example, to connect to testpmd run as::
106 $ ./build/app/dpdk-testpmd -l 2,3 --file-prefix="tpmd"
126 $ ./build/app/dpdk-testpmd -l 2,3 --in-memory # will use socket "dpdk_telemetry.v2"
132 $ ./usertools/dpdk-telemetry.py # will connect to testpmd
H A Dvirtio_user_for_container_networking.rst74 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 \
/dpdk/doc/guides/testpmd_app_ug/
H A Dtestpmd_funcs.rst14 testpmd>
51 testpmd> help
92 testpmd>
108 testpmd>
3717 testpmd>
3724 testpmd>
4488 testpmd>
4499 testpmd>
4510 testpmd>
4681 testpmd>
[all …]
H A Dintro.rst7 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
/dpdk/doc/guides/nics/
H A Digc.rst50 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 Dbuild_and_test.rst16 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.
45 Running testpmd in Linux
48 This section demonstrates how to setup and run ``testpmd`` in Linux.
127 #. Start ``testpmd`` with basic parameters:
131 ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 -- -i
134 testpmd application. A prompt will be displayed at the end for user commands
139 testpmd>
141 Refer to the :ref:`testpmd runtime functions <testpmd_runtime>` for a list
[all …]
H A Dmemif.rst211 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 Dcxgbe.rst409 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 Dbnxt.rst179 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 Dkni.rst36 dpdk-testpmd --vdev=net_kni0 --vdev=net_kni1 -- -i
41 When testpmd forwarding starts, any packets sent to ``kni0`` interface
80 dpdk-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 Dmvpp2.rst503 Before proceeding run testpmd user application:
595 1. Run testpmd user app:
611 testpmd> create port meter 0 0 0 yes d d d 0 1 0
674 1. Run testpmd as follows:
685 testpmd> port stop all
724 testpmd> add port tm leaf node 0 0 3 0 30 1 -1 0 0 1 0
744 testpmd> add port tm leaf node 0 1 3 0 60 1 -1 0 0 1 0
764 testpmd> add port tm leaf node 0 2 3 0 99 1 -1 0 0 1 0
784 testpmd> port tm hierarchy commit 0 no
795 testpmd> port start all
[all …]
H A Di40e.rst303 #. Running testpmd:
307 to run testpmd.
332 testpmd>
350 testpmd> set promisc 0 off
351 testpmd> rx_vlan add 10 0
398 testpmd> show port fdir 0
518 testpmd> ddp del 0 ./backup.pkgo
524 testpmd> ddp get list 0
530 testpmd> ddp get info ./gtp.pkgo
565 testpmd> show port (port_id) queue-region
[all …]
H A Dhns3.rst158 To start ``testpmd``, and add VLAN 10 to port 0:
165 testpmd> set promisc 0 off
166 testpmd> vlan set filter on 0
167 testpmd> rx_vlan add 10 0
179 Start ``testpmd``:
183 ./<build_dir>/app/dpdk-testpmd -l 0-15 -n 4 -- -i --rxq=8 --txq=8 \
191 testpmd> flow create 0 ingress pattern eth / ipv4 src is 2.2.2.3 \
207 testpmd> flow create 0 ingress pattern end actions rss types end \
214 testpmd> flow create 0 ingress pattern eth / ipv4 / tcp / end \
221 testpmd> flow create 0 ingress pattern eth / ipv4 / tcp / end \
[all …]
H A Dnull.rst17 ./<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 Dpcap_ring.rst43 ./<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 Dvhost.rst84 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 Docteontx.rst62 #. 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 Dipn3ke.rst76 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…

1234