xref: /dpdk/doc/guides/testpmd_app_ug/run_app.rst (revision 2ebacaa7d13fa33d91e65f6a2e060eba3b0e1e5c)
1ac718398SBernard Iremonger..  BSD LICENSE
2ac718398SBernard Iremonger    Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
3ac718398SBernard Iremonger    All rights reserved.
4ac718398SBernard Iremonger
5ac718398SBernard Iremonger    Redistribution and use in source and binary forms, with or without
6ac718398SBernard Iremonger    modification, are permitted provided that the following conditions
7ac718398SBernard Iremonger    are met:
8ac718398SBernard Iremonger
9ac718398SBernard Iremonger    * Redistributions of source code must retain the above copyright
10ac718398SBernard Iremonger    notice, this list of conditions and the following disclaimer.
11ac718398SBernard Iremonger    * Redistributions in binary form must reproduce the above copyright
12ac718398SBernard Iremonger    notice, this list of conditions and the following disclaimer in
13ac718398SBernard Iremonger    the documentation and/or other materials provided with the
14ac718398SBernard Iremonger    distribution.
15ac718398SBernard Iremonger    * Neither the name of Intel Corporation nor the names of its
16ac718398SBernard Iremonger    contributors may be used to endorse or promote products derived
17ac718398SBernard Iremonger    from this software without specific prior written permission.
18ac718398SBernard Iremonger
19ac718398SBernard Iremonger    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20ac718398SBernard Iremonger    "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21ac718398SBernard Iremonger    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22ac718398SBernard Iremonger    A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23ac718398SBernard Iremonger    OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24ac718398SBernard Iremonger    SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25ac718398SBernard Iremonger    LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26ac718398SBernard Iremonger    DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27ac718398SBernard Iremonger    THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28ac718398SBernard Iremonger    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29ac718398SBernard Iremonger    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30ac718398SBernard Iremonger
31ac718398SBernard IremongerRunning the Application
32ac718398SBernard Iremonger=======================
33ac718398SBernard Iremonger
34ac718398SBernard IremongerEAL Command-line Options
35ac718398SBernard Iremonger------------------------
36ac718398SBernard Iremonger
37ac718398SBernard IremongerThe following are the EAL command-line options that can be used in conjunction with the testpmd,
38bd89cca3SSiobhan Butleror any other DPDK application.
39e76d7a76SJohn McNamaraSee the DPDK Getting Started Guides for more information on these options.
40ac718398SBernard Iremonger
41e76d7a76SJohn McNamara*   ``-c COREMASK``
42ac718398SBernard Iremonger
43ac718398SBernard Iremonger    Set the hexadecimal bitmask of the cores to run on.
44ac718398SBernard Iremonger
45e76d7a76SJohn McNamara*   ``-l CORELIST``
46e3ab7a94SPablo de Lara
47e3ab7a94SPablo de Lara    List of cores to run on
48e3ab7a94SPablo de Lara
49e76d7a76SJohn McNamara    The argument format is ``<c1>[-c2][,c3[-c4],...]``
50e76d7a76SJohn McNamara    where ``c1``, ``c2``, etc are core indexes between 0 and 128.
51e3ab7a94SPablo de Lara
52e76d7a76SJohn McNamara*   ``--lcores COREMAP``
53e3ab7a94SPablo de Lara
54e3ab7a94SPablo de Lara    Map lcore set to physical cpu set
55e3ab7a94SPablo de Lara
56e76d7a76SJohn McNamara    The argument format is::
57e3ab7a94SPablo de Lara
58e76d7a76SJohn McNamara       <lcores[@cpus]>[<,lcores[@cpus]>...]
59e3ab7a94SPablo de Lara
60e76d7a76SJohn McNamara    Lcore and CPU lists are grouped by ``(`` and ``)`` Within the group.
61e76d7a76SJohn McNamara    The ``-`` character is used as a range separator and ``,`` is used as a single number separator.
62e76d7a76SJohn McNamara    The grouping ``()`` can be omitted for single element group.
63e76d7a76SJohn McNamara    The ``@`` can be omitted if cpus and lcores have the same value.
64e3ab7a94SPablo de Lara
65e76d7a76SJohn McNamara*   ``--master-lcore ID``
66e3ab7a94SPablo de Lara
67e76d7a76SJohn McNamara    Core ID that is used as master.
68e76d7a76SJohn McNamara
69e76d7a76SJohn McNamara*   ``-n NUM``
70ac718398SBernard Iremonger
71ac718398SBernard Iremonger    Set the number of memory channels to use.
72ac718398SBernard Iremonger
73e76d7a76SJohn McNamara*   ``-b, --pci-blacklist domain:bus:devid.func``
74ac718398SBernard Iremonger
75ac718398SBernard Iremonger    Blacklist a PCI devise to prevent EAL from using it. Multiple -b options are allowed.
76ac718398SBernard Iremonger
77e76d7a76SJohn McNamara*   ``-d LIB.so``
78ac718398SBernard Iremonger
79ac718398SBernard Iremonger    Load an external driver. Multiple -d options are allowed.
80ac718398SBernard Iremonger
81e76d7a76SJohn McNamara*   ``-w, --pci-whitelist domain:bus:devid:func``
82ac718398SBernard Iremonger
83ac718398SBernard Iremonger    Add a PCI device in white list.
84ac718398SBernard Iremonger
85e76d7a76SJohn McNamara*   ``-m MB``
86ac718398SBernard Iremonger
87e76d7a76SJohn McNamara    Memory to allocate. See also ``--socket-mem``.
88ac718398SBernard Iremonger
89e76d7a76SJohn McNamara*   ``-r NUM``
90ac718398SBernard Iremonger
91ac718398SBernard Iremonger    Set the number of memory ranks (auto-detected by default).
92ac718398SBernard Iremonger
93e76d7a76SJohn McNamara*   ``-v``
94ac718398SBernard Iremonger
95ac718398SBernard Iremonger    Display the version information on startup.
96ac718398SBernard Iremonger
97e76d7a76SJohn McNamara*   ``--xen-dom0``
98ac718398SBernard Iremonger
99ac718398SBernard Iremonger    Support application running on Xen Domain0 without hugetlbfs.
100ac718398SBernard Iremonger
101e76d7a76SJohn McNamara*   ``--syslog``
102ac718398SBernard Iremonger
103ac718398SBernard Iremonger    Set the syslog facility.
104ac718398SBernard Iremonger
105e76d7a76SJohn McNamara*   ``--socket-mem``
106ac718398SBernard Iremonger
107ac718398SBernard Iremonger    Set the memory to allocate on specific sockets (use comma separated values).
108ac718398SBernard Iremonger
109e76d7a76SJohn McNamara*   ``--huge-dir``
110ac718398SBernard Iremonger
111ac718398SBernard Iremonger    Specify the directory where the hugetlbfs is mounted.
112ac718398SBernard Iremonger
113e76d7a76SJohn McNamara*   ``--proc-type``
114ac718398SBernard Iremonger
115ac718398SBernard Iremonger    Set the type of the current process.
116ac718398SBernard Iremonger
117e76d7a76SJohn McNamara*   ``--file-prefix``
118ac718398SBernard Iremonger
119ac718398SBernard Iremonger    Prefix for hugepage filenames.
120ac718398SBernard Iremonger
121e76d7a76SJohn McNamara*   ``-vmware-tsc-map``
122ac718398SBernard Iremonger
123ac718398SBernard Iremonger    Use VMware TSC map instead of native RDTSC.
124ac718398SBernard Iremonger
125e76d7a76SJohn McNamara*   ``--vdev``
126ac718398SBernard Iremonger
127e76d7a76SJohn McNamara    Add a virtual device using the format::
128ac718398SBernard Iremonger
129e76d7a76SJohn McNamara       <driver><id>[,key=val, ...]
130e76d7a76SJohn McNamara
131e76d7a76SJohn McNamara    For example::
132e76d7a76SJohn McNamara
13358c82067SThomas Monjalon       --vdev 'net_pcap0,rx_pcap=input.pcap,tx_pcap=output.pcap'
134e76d7a76SJohn McNamara
135e76d7a76SJohn McNamara*   ``--base-virtaddr``
136ac718398SBernard Iremonger
137ac718398SBernard Iremonger    Specify base virtual address.
138ac718398SBernard Iremonger
139e76d7a76SJohn McNamara*   ``--create-uio-dev``
140ac718398SBernard Iremonger
141e76d7a76SJohn McNamara    Create ``/dev/uioX`` (usually done by hotplug).
142ac718398SBernard Iremonger
143e76d7a76SJohn McNamara*   ``--no-shconf``
144ac718398SBernard Iremonger
145e76d7a76SJohn McNamara    No shared config (mmap-ed files).
146ac718398SBernard Iremonger
147e76d7a76SJohn McNamara*   ``--no-pci``
148ac718398SBernard Iremonger
149ac718398SBernard Iremonger    Disable pci.
150ac718398SBernard Iremonger
151e76d7a76SJohn McNamara*   ``--no-hpet``
152ac718398SBernard Iremonger
153ac718398SBernard Iremonger    Disable hpet.
154ac718398SBernard Iremonger
155e76d7a76SJohn McNamara*   ``--no-huge``
156ac718398SBernard Iremonger
157ac718398SBernard Iremonger    Use malloc instead of hugetlbfs.
158ac718398SBernard Iremonger
159ac718398SBernard Iremonger
160ac718398SBernard IremongerTestpmd Command-line Options
161ac718398SBernard Iremonger----------------------------
162ac718398SBernard Iremonger
163ac718398SBernard IremongerThe following are the command-line options for the testpmd applications.
164e76d7a76SJohn McNamaraThey must be separated from the EAL options, shown in the previous section, with a ``--`` separator:
165ac718398SBernard Iremonger
166ac718398SBernard Iremonger.. code-block:: console
167ac718398SBernard Iremonger
168ac718398SBernard Iremonger    sudo ./testpmd -c 0xF -n 4 -- -i --portmask=0x1 --nb-cores=2
169ac718398SBernard Iremonger
170e76d7a76SJohn McNamaraThe commandline options are:
171e76d7a76SJohn McNamara
172e76d7a76SJohn McNamara*   ``-i, --interactive``
173ac718398SBernard Iremonger
174ac718398SBernard Iremonger    Run testpmd in interactive mode.
175ac718398SBernard Iremonger    In this mode, the testpmd starts with a prompt that can be used to start and stop forwarding,
176ac718398SBernard Iremonger    configure the application and display stats on the current packet processing session.
177e76d7a76SJohn McNamara    See :ref:`testpmd_runtime` for more details.
178ac718398SBernard Iremonger
179ac718398SBernard Iremonger    In non-interactive mode,
180ac718398SBernard Iremonger    the application starts with the configuration specified on the command-line and
181ac718398SBernard Iremonger    immediately enters forwarding mode.
182ac718398SBernard Iremonger
183e76d7a76SJohn McNamara*   ``-h, --help``
184ac718398SBernard Iremonger
185ac718398SBernard Iremonger    Display a help message and quit.
186ac718398SBernard Iremonger
187e76d7a76SJohn McNamara*   ``-a, --auto-start``
188ac718398SBernard Iremonger
189e76d7a76SJohn McNamara    Start forwarding on initialization.
190ac718398SBernard Iremonger
191e76d7a76SJohn McNamara*   ``--nb-cores=N``
192ac718398SBernard Iremonger
193ac718398SBernard Iremonger    Set the number of forwarding cores,
194e76d7a76SJohn McNamara    where 1 <= N <= "number of cores" or ``CONFIG_RTE_MAX_LCORE`` from the configuration file.
195ac718398SBernard Iremonger    The default value is 1.
196ac718398SBernard Iremonger
197e76d7a76SJohn McNamara*   ``--nb-ports=N``
198ac718398SBernard Iremonger
199ac718398SBernard Iremonger    Set the number of forwarding ports,
200e76d7a76SJohn McNamara    where 1 <= N <= "number of ports" on the board or ``CONFIG_RTE_MAX_ETHPORTS`` from the configuration file.
201ac718398SBernard Iremonger    The default value is the number of ports on the board.
202ac718398SBernard Iremonger
203e76d7a76SJohn McNamara*   ``--coremask=0xXX``
204ac718398SBernard Iremonger
205ac718398SBernard Iremonger    Set the hexadecimal bitmask of the cores running the packet forwarding test.
206ac718398SBernard Iremonger    The master lcore is reserved for command line parsing only and cannot be masked on for packet forwarding.
207ac718398SBernard Iremonger
208e76d7a76SJohn McNamara*   ``--portmask=0xXX``
209ac718398SBernard Iremonger
210ac718398SBernard Iremonger    Set the hexadecimal bitmask of the ports used by the packet forwarding test.
211ac718398SBernard Iremonger
212e76d7a76SJohn McNamara*   ``--numa``
213ac718398SBernard Iremonger
214ac718398SBernard Iremonger    Enable NUMA-aware allocation of RX/TX rings and of RX memory buffers (mbufs).
215ac718398SBernard Iremonger
216e76d7a76SJohn McNamara*   ``--port-numa-config=(port,socket)[,(port,socket)]``
217ac718398SBernard Iremonger
218ac718398SBernard Iremonger    Specify the socket on which the memory pool to be used by the port will be allocated.
219ac718398SBernard Iremonger
220e76d7a76SJohn McNamara*   ``--ring-numa-config=(port,flag,socket)[,(port,flag,socket)]``
221ac718398SBernard Iremonger
222ac718398SBernard Iremonger    Specify the socket on which the TX/RX rings for the port will be allocated.
223ac718398SBernard Iremonger    Where flag is 1 for RX, 2 for TX, and 3 for RX and TX.
224ac718398SBernard Iremonger
225e76d7a76SJohn McNamara*   ``--socket-num=N``
226ac718398SBernard Iremonger
227ac718398SBernard Iremonger    Set the socket from which all memory is allocated in NUMA mode,
228ac718398SBernard Iremonger    where 0 <= N < number of sockets on the board.
229ac718398SBernard Iremonger
230e76d7a76SJohn McNamara*   ``--mbuf-size=N``
231ac718398SBernard Iremonger
232ac718398SBernard Iremonger    Set the data size of the mbufs used to N bytes, where N < 65536. The default value is 2048.
233ac718398SBernard Iremonger
234e76d7a76SJohn McNamara*   ``--total-num-mbufs=N``
235ac718398SBernard Iremonger
236ac718398SBernard Iremonger    Set the number of mbufs to be allocated in the mbuf pools, where N > 1024.
237ac718398SBernard Iremonger
238e76d7a76SJohn McNamara*   ``--max-pkt-len=N``
239ac718398SBernard Iremonger
240ac718398SBernard Iremonger    Set the maximum packet size to N bytes, where N >= 64. The default value is 1518.
241ac718398SBernard Iremonger
242e76d7a76SJohn McNamara*   ``--eth-peers-configfile=name``
243ac718398SBernard Iremonger
244ac718398SBernard Iremonger    Use a configuration file containing the Ethernet addresses of the peer ports.
245e76d7a76SJohn McNamara    The configuration file should contain the Ethernet addresses on separate lines::
246ac718398SBernard Iremonger
247ac718398SBernard Iremonger       XX:XX:XX:XX:XX:01
248ac718398SBernard Iremonger       XX:XX:XX:XX:XX:02
249ac718398SBernard Iremonger       ...
250ac718398SBernard Iremonger
251ac718398SBernard Iremonger
252e76d7a76SJohn McNamara*   ``--eth-peer=N,XX:XX:XX:XX:XX:XX``
253ac718398SBernard Iremonger
254e76d7a76SJohn McNamara    Set the MAC address ``XX:XX:XX:XX:XX:XX`` of the peer port N,
255e76d7a76SJohn McNamara    where 0 <= N < ``CONFIG_RTE_MAX_ETHPORTS`` from the configuration file.
256ac718398SBernard Iremonger
257e76d7a76SJohn McNamara*   ``--pkt-filter-mode=mode``
258ac718398SBernard Iremonger
259e76d7a76SJohn McNamara    Set Flow Director mode where mode is either ``none`` (the default), ``signature`` or ``perfect``.
260e76d7a76SJohn McNamara    See :ref:`testpmd_flow_director` for more details.
261ac718398SBernard Iremonger
262e76d7a76SJohn McNamara*   ``--pkt-filter-report-hash=mode``
263ac718398SBernard Iremonger
264e76d7a76SJohn McNamara    Set Flow Director hash match reporting mode where mode is ``none``, ``match`` (the default) or ``always``.
265e76d7a76SJohn McNamara
266e76d7a76SJohn McNamara*   ``--pkt-filter-size=N``
267ac718398SBernard Iremonger
268ac718398SBernard Iremonger    Set Flow Director allocated memory size, where N is 64K, 128K or 256K.
269ac718398SBernard Iremonger    Sizes are in kilobytes. The default is 64.
270ac718398SBernard Iremonger
271e76d7a76SJohn McNamara*   ``--pkt-filter-flexbytes-offset=N``
272ac718398SBernard Iremonger
273ac718398SBernard Iremonger    Set the flexbytes offset.
274ac718398SBernard Iremonger    The offset is defined in words (not bytes) counted from the first byte of the destination Ethernet MAC address,
275ac718398SBernard Iremonger    where N is 0 <= N <= 32.
276ac718398SBernard Iremonger    The default value is 0x6.
277ac718398SBernard Iremonger
278e76d7a76SJohn McNamara*   ``--pkt-filter-drop-queue=N``
279ac718398SBernard Iremonger
280ac718398SBernard Iremonger    Set the drop-queue.
281ac718398SBernard Iremonger    In perfect filter mode, when a rule is added with queue = -1, the packet will be enqueued into the RX drop-queue.
282ac718398SBernard Iremonger    If the drop-queue does not exist, the packet is dropped. The default value is N=127.
283ac718398SBernard Iremonger
284e76d7a76SJohn McNamara*   ``--crc-strip``
285ac718398SBernard Iremonger
286ac718398SBernard Iremonger    Enable hardware CRC stripping.
287ac718398SBernard Iremonger
2884c3ea508SOlivier Matz*   ``--enable-lro``
2894c3ea508SOlivier Matz
2904c3ea508SOlivier Matz    Enable large receive offload.
2914c3ea508SOlivier Matz
292e76d7a76SJohn McNamara*   ``--enable-rx-cksum``
293ac718398SBernard Iremonger
294ac718398SBernard Iremonger    Enable hardware RX checksum offload.
295ac718398SBernard Iremonger
29604997938SMaciej Czekaj*   ``--enable-scatter``
29704997938SMaciej Czekaj
29804997938SMaciej Czekaj    Enable scatter (multi-segment) RX.
29904997938SMaciej Czekaj
300e76d7a76SJohn McNamara*   ``--disable-hw-vlan``
301ac718398SBernard Iremonger
302ac718398SBernard Iremonger    Disable hardware VLAN.
303ac718398SBernard Iremonger
304e76d7a76SJohn McNamara*   ``--disable-hw-vlan-filter``
305f2552cd5SOuyang Changchun
306f2552cd5SOuyang Changchun    Disable hardware VLAN filter.
307f2552cd5SOuyang Changchun
308e76d7a76SJohn McNamara*   ``--disable-hw-vlan-strip``
309f2552cd5SOuyang Changchun
310f2552cd5SOuyang Changchun    Disable hardware VLAN strip.
311f2552cd5SOuyang Changchun
312e76d7a76SJohn McNamara*   ``--disable-hw-vlan-extend``
313f2552cd5SOuyang Changchun
314f2552cd5SOuyang Changchun    Disable hardware VLAN extend.
315f2552cd5SOuyang Changchun
316e76d7a76SJohn McNamara*   ``--enable-drop-en``
317ac718398SBernard Iremonger
318ac718398SBernard Iremonger    Enable per-queue packet drop for packets with no descriptors.
319ac718398SBernard Iremonger
320e76d7a76SJohn McNamara*   ``--disable-rss``
321ac718398SBernard Iremonger
322ac718398SBernard Iremonger    Disable RSS (Receive Side Scaling).
323ac718398SBernard Iremonger
324e76d7a76SJohn McNamara*   ``--port-topology=mode``
325ac718398SBernard Iremonger
326e76d7a76SJohn McNamara    Set port topology, where mode is ``paired`` (the default) or ``chained``.
327e76d7a76SJohn McNamara
328e76d7a76SJohn McNamara    In ``paired`` mode, the forwarding is between pairs of ports, for example: (0,1), (2,3), (4,5).
329e76d7a76SJohn McNamara
330e76d7a76SJohn McNamara    In ``chained`` mode, the forwarding is to the next available port in the port mask, for example: (0,1), (1,2), (2,0).
331e76d7a76SJohn McNamara
332ac718398SBernard Iremonger    The ordering of the ports can be changed using the portlist testpmd runtime function.
333ac718398SBernard Iremonger
334e76d7a76SJohn McNamara*   ``--forward-mode=mode``
335ac718398SBernard Iremonger
336e76d7a76SJohn McNamara    Set the forwarding mode where ``mode`` is one of the following::
337ac718398SBernard Iremonger
338e76d7a76SJohn McNamara       io (the default)
339e76d7a76SJohn McNamara       mac
340e76d7a76SJohn McNamara       mac_swap
341e76d7a76SJohn McNamara       flowgen
342e76d7a76SJohn McNamara       rxonly
343e76d7a76SJohn McNamara       txonly
344e76d7a76SJohn McNamara       csum
345e76d7a76SJohn McNamara       icmpecho
346e76d7a76SJohn McNamara       ieee1588
347e76d7a76SJohn McNamara
348e76d7a76SJohn McNamara*   ``--rss-ip``
349ac718398SBernard Iremonger
350ac718398SBernard Iremonger    Set RSS functions for IPv4/IPv6 only.
351ac718398SBernard Iremonger
352e76d7a76SJohn McNamara*   ``--rss-udp``
353ac718398SBernard Iremonger
354ac718398SBernard Iremonger    Set RSS functions for IPv4/IPv6 and UDP.
355ac718398SBernard Iremonger
356e76d7a76SJohn McNamara*   ``--rxq=N``
357ac718398SBernard Iremonger
358ac718398SBernard Iremonger    Set the number of RX queues per port to N, where 1 <= N <= 65535.
359ac718398SBernard Iremonger    The default value is 1.
360ac718398SBernard Iremonger
361e76d7a76SJohn McNamara*   ``--rxd=N``
362ac718398SBernard Iremonger
363ac718398SBernard Iremonger    Set the number of descriptors in the RX rings to N, where N > 0.
364ac718398SBernard Iremonger    The default value is 128.
365ac718398SBernard Iremonger
366e76d7a76SJohn McNamara*   ``--txq=N``
367ac718398SBernard Iremonger
368ac718398SBernard Iremonger    Set the number of TX queues per port to N, where 1 <= N <= 65535.
369ac718398SBernard Iremonger    The default value is 1.
370ac718398SBernard Iremonger
371e76d7a76SJohn McNamara*   ``--txd=N``
372ac718398SBernard Iremonger
373ac718398SBernard Iremonger    Set the number of descriptors in the TX rings to N, where N > 0.
374ac718398SBernard Iremonger    The default value is 512.
375ac718398SBernard Iremonger
376e76d7a76SJohn McNamara*   ``--burst=N``
377ac718398SBernard Iremonger
378ac718398SBernard Iremonger    Set the number of packets per burst to N, where 1 <= N <= 512.
379ac718398SBernard Iremonger    The default value is 16.
380ac718398SBernard Iremonger
381e76d7a76SJohn McNamara*   ``--mbcache=N``
382ac718398SBernard Iremonger
383ac718398SBernard Iremonger    Set the cache of mbuf memory pools to N, where 0 <= N <= 512.
384ac718398SBernard Iremonger    The default value is 16.
385ac718398SBernard Iremonger
386e76d7a76SJohn McNamara*   ``--rxpt=N``
387ac718398SBernard Iremonger
388ac718398SBernard Iremonger    Set the prefetch threshold register of RX rings to N, where N >= 0.
389ac718398SBernard Iremonger    The default value is 8.
390ac718398SBernard Iremonger
391e76d7a76SJohn McNamara*   ``--rxht=N``
392ac718398SBernard Iremonger
393ac718398SBernard Iremonger    Set the host threshold register of RX rings to N, where N >= 0.
394ac718398SBernard Iremonger    The default value is 8.
395ac718398SBernard Iremonger
396e76d7a76SJohn McNamara*   ``--rxfreet=N``
397ac718398SBernard Iremonger
398ac718398SBernard Iremonger    Set the free threshold of RX descriptors to N, where 0 <= N < value of --rxd.
399ac718398SBernard Iremonger    The default value is 0.
400ac718398SBernard Iremonger
401e76d7a76SJohn McNamara*   ``--rxwt=N``
402ac718398SBernard Iremonger
403ac718398SBernard Iremonger    Set the write-back threshold register of RX rings to N, where N >= 0.
404ac718398SBernard Iremonger    The default value is 4.
405ac718398SBernard Iremonger
406e76d7a76SJohn McNamara*   ``--txpt=N``
407ac718398SBernard Iremonger
408ac718398SBernard Iremonger    Set the prefetch threshold register of TX rings to N, where N >= 0.
409ac718398SBernard Iremonger    The default value is 36.
410ac718398SBernard Iremonger
411e76d7a76SJohn McNamara*   ``--txht=N``
412ac718398SBernard Iremonger
413ac718398SBernard Iremonger    Set the host threshold register of TX rings to N, where N >= 0.
414ac718398SBernard Iremonger    The default value is 0.
415ac718398SBernard Iremonger
416e76d7a76SJohn McNamara*   ``--txwt=N``
417ac718398SBernard Iremonger
418ac718398SBernard Iremonger    Set the write-back threshold register of TX rings to N, where N >= 0.
419ac718398SBernard Iremonger    The default value is 0.
420ac718398SBernard Iremonger
421e76d7a76SJohn McNamara*   ``--txfreet=N``
422ac718398SBernard Iremonger
423e76d7a76SJohn McNamara    Set the transmit free threshold of TX rings to N, where 0 <= N <= value of ``--txd``.
424ac718398SBernard Iremonger    The default value is 0.
425ac718398SBernard Iremonger
426e76d7a76SJohn McNamara*   ``--txrst=N``
427ac718398SBernard Iremonger
428e76d7a76SJohn McNamara    Set the transmit RS bit threshold of TX rings to N, where 0 <= N <= value of ``--txd``.
429ac718398SBernard Iremonger    The default value is 0.
430ac718398SBernard Iremonger
431e76d7a76SJohn McNamara*   ``--txqflags=0xXXXXXXXX``
432ac718398SBernard Iremonger
433ac718398SBernard Iremonger    Set the hexadecimal bitmask of TX queue flags, where 0 <= N <= 0x7FFFFFFF.
434ac718398SBernard Iremonger    The default value is 0.
435ac718398SBernard Iremonger
436e76d7a76SJohn McNamara    .. note::
437be2d7a05SPablo de Lara
438e76d7a76SJohn McNamara       When using hardware offload functions such as vlan or checksum
439e76d7a76SJohn McNamara       add ``txqflags=0`` to force the full-featured TX code path.
440e76d7a76SJohn McNamara       In some PMDs this may already be the default.
441be2d7a05SPablo de Lara
442e76d7a76SJohn McNamara
443e76d7a76SJohn McNamara*   ``--rx-queue-stats-mapping=(port,queue,mapping)[,(port,queue,mapping)]``
444ac718398SBernard Iremonger
445ac718398SBernard Iremonger    Set the RX queues statistics counters mapping 0 <= mapping <= 15.
446ac718398SBernard Iremonger
447e76d7a76SJohn McNamara*   ``--tx-queue-stats-mapping=(port,queue,mapping)[,(port,queue,mapping)]``
448ac718398SBernard Iremonger
449ac718398SBernard Iremonger    Set the TX queues statistics counters mapping 0 <= mapping <= 15.
450ac718398SBernard Iremonger
451e76d7a76SJohn McNamara*   ``--no-flush-rx``
452ac718398SBernard Iremonger
453e76d7a76SJohn McNamara    Don't flush the RX streams before starting forwarding. Used mainly with the PCAP PMD.
454ac718398SBernard Iremonger
455e76d7a76SJohn McNamara*   ``--txpkts=X[,Y]``
456ac718398SBernard Iremonger
457*2ebacaa7SMaciej Czekaj    Set TX segment sizes or total packet length. Valid for ``tx-only``
458*2ebacaa7SMaciej Czekaj    and ``flowgen`` forwarding modes.
459ac718398SBernard Iremonger
460e76d7a76SJohn McNamara*   ``--disable-link-check``
461ac718398SBernard Iremonger
462ac718398SBernard Iremonger    Disable check on link status when starting/stopping ports.
463