xref: /dpdk/doc/guides/testpmd_app_ug/run_app.rst (revision c7f5dba7d4bb7971fac51755aad09b71b10cef90)
15630257fSFerruh Yigit..  SPDX-License-Identifier: BSD-3-Clause
25630257fSFerruh Yigit    Copyright(c) 2010-2014 Intel Corporation.
3ac718398SBernard Iremonger
4ac718398SBernard IremongerRunning the Application
5ac718398SBernard Iremonger=======================
6ac718398SBernard Iremonger
7ac718398SBernard IremongerEAL Command-line Options
8ac718398SBernard Iremonger------------------------
9ac718398SBernard Iremonger
10ac718398SBernard IremongerThe following are the EAL command-line options that can be used in conjunction with the testpmd,
11bd89cca3SSiobhan Butleror any other DPDK application.
12e76d7a76SJohn McNamaraSee the DPDK Getting Started Guides for more information on these options.
13ac718398SBernard Iremonger
14e76d7a76SJohn McNamara*   ``-c COREMASK``
15ac718398SBernard Iremonger
16ac718398SBernard Iremonger    Set the hexadecimal bitmask of the cores to run on.
17ac718398SBernard Iremonger
18e76d7a76SJohn McNamara*   ``-l CORELIST``
19e3ab7a94SPablo de Lara
20e3ab7a94SPablo de Lara    List of cores to run on
21e3ab7a94SPablo de Lara
22e76d7a76SJohn McNamara    The argument format is ``<c1>[-c2][,c3[-c4],...]``
23e76d7a76SJohn McNamara    where ``c1``, ``c2``, etc are core indexes between 0 and 128.
24e3ab7a94SPablo de Lara
25e76d7a76SJohn McNamara*   ``--lcores COREMAP``
26e3ab7a94SPablo de Lara
27e3ab7a94SPablo de Lara    Map lcore set to physical cpu set
28e3ab7a94SPablo de Lara
29e76d7a76SJohn McNamara    The argument format is::
30e3ab7a94SPablo de Lara
31e76d7a76SJohn McNamara       <lcores[@cpus]>[<,lcores[@cpus]>...]
32e3ab7a94SPablo de Lara
33e76d7a76SJohn McNamara    Lcore and CPU lists are grouped by ``(`` and ``)`` Within the group.
34e76d7a76SJohn McNamara    The ``-`` character is used as a range separator and ``,`` is used as a single number separator.
35e76d7a76SJohn McNamara    The grouping ``()`` can be omitted for single element group.
36e76d7a76SJohn McNamara    The ``@`` can be omitted if cpus and lcores have the same value.
37e3ab7a94SPablo de Lara
38117eaa70SMarko Kovacevic.. Note::
39117eaa70SMarko Kovacevic    At a given instance only one core option ``--lcores``, ``-l`` or ``-c`` can be used.
40117eaa70SMarko Kovacevic
41117eaa70SMarko Kovacevic
42e76d7a76SJohn McNamara*   ``--master-lcore ID``
43e3ab7a94SPablo de Lara
44e76d7a76SJohn McNamara    Core ID that is used as master.
45e76d7a76SJohn McNamara
46e76d7a76SJohn McNamara*   ``-n NUM``
47ac718398SBernard Iremonger
48ac718398SBernard Iremonger    Set the number of memory channels to use.
49ac718398SBernard Iremonger
50e76d7a76SJohn McNamara*   ``-b, --pci-blacklist domain:bus:devid.func``
51ac718398SBernard Iremonger
527dbdc537SRami Rosen    Blacklist a PCI device to prevent EAL from using it. Multiple -b options are allowed.
53ac718398SBernard Iremonger
54e76d7a76SJohn McNamara*   ``-d LIB.so``
55ac718398SBernard Iremonger
56ac718398SBernard Iremonger    Load an external driver. Multiple -d options are allowed.
57ac718398SBernard Iremonger
58e76d7a76SJohn McNamara*   ``-w, --pci-whitelist domain:bus:devid:func``
59ac718398SBernard Iremonger
60ac718398SBernard Iremonger    Add a PCI device in white list.
61ac718398SBernard Iremonger
62e76d7a76SJohn McNamara*   ``-m MB``
63ac718398SBernard Iremonger
64e76d7a76SJohn McNamara    Memory to allocate. See also ``--socket-mem``.
65ac718398SBernard Iremonger
66e76d7a76SJohn McNamara*   ``-r NUM``
67ac718398SBernard Iremonger
68ac718398SBernard Iremonger    Set the number of memory ranks (auto-detected by default).
69ac718398SBernard Iremonger
70e76d7a76SJohn McNamara*   ``-v``
71ac718398SBernard Iremonger
72ac718398SBernard Iremonger    Display the version information on startup.
73ac718398SBernard Iremonger
74e76d7a76SJohn McNamara*   ``--syslog``
75ac718398SBernard Iremonger
76ac718398SBernard Iremonger    Set the syslog facility.
77ac718398SBernard Iremonger
78e76d7a76SJohn McNamara*   ``--socket-mem``
79ac718398SBernard Iremonger
80ac718398SBernard Iremonger    Set the memory to allocate on specific sockets (use comma separated values).
81ac718398SBernard Iremonger
82e76d7a76SJohn McNamara*   ``--huge-dir``
83ac718398SBernard Iremonger
84ac718398SBernard Iremonger    Specify the directory where the hugetlbfs is mounted.
85ac718398SBernard Iremonger
86a103a97eSSantosh Shukla*   ``mbuf-pool-ops-name``:
87a103a97eSSantosh Shukla
88a103a97eSSantosh Shukla    Pool ops name for mbuf to use.
89a103a97eSSantosh Shukla
90e76d7a76SJohn McNamara*   ``--proc-type``
91ac718398SBernard Iremonger
92ac718398SBernard Iremonger    Set the type of the current process.
93ac718398SBernard Iremonger
94e76d7a76SJohn McNamara*   ``--file-prefix``
95ac718398SBernard Iremonger
96ac718398SBernard Iremonger    Prefix for hugepage filenames.
97ac718398SBernard Iremonger
98e76d7a76SJohn McNamara*   ``-vmware-tsc-map``
99ac718398SBernard Iremonger
100ac718398SBernard Iremonger    Use VMware TSC map instead of native RDTSC.
101ac718398SBernard Iremonger
102e76d7a76SJohn McNamara*   ``--vdev``
103ac718398SBernard Iremonger
104e76d7a76SJohn McNamara    Add a virtual device using the format::
105ac718398SBernard Iremonger
106e76d7a76SJohn McNamara       <driver><id>[,key=val, ...]
107e76d7a76SJohn McNamara
108e76d7a76SJohn McNamara    For example::
109e76d7a76SJohn McNamara
11058c82067SThomas Monjalon       --vdev 'net_pcap0,rx_pcap=input.pcap,tx_pcap=output.pcap'
111e76d7a76SJohn McNamara
112e76d7a76SJohn McNamara*   ``--base-virtaddr``
113ac718398SBernard Iremonger
114ac718398SBernard Iremonger    Specify base virtual address.
115ac718398SBernard Iremonger
116e76d7a76SJohn McNamara*   ``--create-uio-dev``
117ac718398SBernard Iremonger
118e76d7a76SJohn McNamara    Create ``/dev/uioX`` (usually done by hotplug).
119ac718398SBernard Iremonger
120e76d7a76SJohn McNamara*   ``--no-shconf``
121ac718398SBernard Iremonger
122e76d7a76SJohn McNamara    No shared config (mmap-ed files).
123ac718398SBernard Iremonger
124e76d7a76SJohn McNamara*   ``--no-pci``
125ac718398SBernard Iremonger
126ac718398SBernard Iremonger    Disable pci.
127ac718398SBernard Iremonger
128e76d7a76SJohn McNamara*   ``--no-hpet``
129ac718398SBernard Iremonger
130ac718398SBernard Iremonger    Disable hpet.
131ac718398SBernard Iremonger
132e76d7a76SJohn McNamara*   ``--no-huge``
133ac718398SBernard Iremonger
134ac718398SBernard Iremonger    Use malloc instead of hugetlbfs.
135ac718398SBernard Iremonger
136ac718398SBernard Iremonger
137ac718398SBernard IremongerTestpmd Command-line Options
138ac718398SBernard Iremonger----------------------------
139ac718398SBernard Iremonger
140ac718398SBernard IremongerThe following are the command-line options for the testpmd applications.
141e76d7a76SJohn McNamaraThey must be separated from the EAL options, shown in the previous section, with a ``--`` separator:
142ac718398SBernard Iremonger
143ac718398SBernard Iremonger.. code-block:: console
144ac718398SBernard Iremonger
14535b09d76SKeith Wiles    sudo ./testpmd -l 0-3 -n 4 -- -i --portmask=0x1 --nb-cores=2
146ac718398SBernard Iremonger
147e76d7a76SJohn McNamaraThe commandline options are:
148e76d7a76SJohn McNamara
149e76d7a76SJohn McNamara*   ``-i, --interactive``
150ac718398SBernard Iremonger
151ac718398SBernard Iremonger    Run testpmd in interactive mode.
152ac718398SBernard Iremonger    In this mode, the testpmd starts with a prompt that can be used to start and stop forwarding,
153ac718398SBernard Iremonger    configure the application and display stats on the current packet processing session.
154e76d7a76SJohn McNamara    See :ref:`testpmd_runtime` for more details.
155ac718398SBernard Iremonger
156ac718398SBernard Iremonger    In non-interactive mode,
157ac718398SBernard Iremonger    the application starts with the configuration specified on the command-line and
158ac718398SBernard Iremonger    immediately enters forwarding mode.
159ac718398SBernard Iremonger
160e76d7a76SJohn McNamara*   ``-h, --help``
161ac718398SBernard Iremonger
162ac718398SBernard Iremonger    Display a help message and quit.
163ac718398SBernard Iremonger
164e76d7a76SJohn McNamara*   ``-a, --auto-start``
165ac718398SBernard Iremonger
166e76d7a76SJohn McNamara    Start forwarding on initialization.
167ac718398SBernard Iremonger
16899cabef0SPablo de Lara*   ``--tx-first``
16999cabef0SPablo de Lara
17099cabef0SPablo de Lara    Start forwarding, after sending a burst of packets first.
17199cabef0SPablo de Lara
17299cabef0SPablo de Lara.. Note::
17399cabef0SPablo de Lara
17499cabef0SPablo de Lara   This flag should be only used in non-interactive mode.
17599cabef0SPablo de Lara
176cfea1f30SPablo de Lara*   ``--stats-period PERIOD``
177cfea1f30SPablo de Lara
178cfea1f30SPablo de Lara    Display statistics every PERIOD seconds, if interactive mode is disabled.
179cfea1f30SPablo de Lara    The default value is 0, which means that the statistics will not be displayed.
180cfea1f30SPablo de Lara
181e76d7a76SJohn McNamara*   ``--nb-cores=N``
182ac718398SBernard Iremonger
183ac718398SBernard Iremonger    Set the number of forwarding cores,
184e76d7a76SJohn McNamara    where 1 <= N <= "number of cores" or ``CONFIG_RTE_MAX_LCORE`` from the configuration file.
185ac718398SBernard Iremonger    The default value is 1.
186ac718398SBernard Iremonger
187e76d7a76SJohn McNamara*   ``--nb-ports=N``
188ac718398SBernard Iremonger
189ac718398SBernard Iremonger    Set the number of forwarding ports,
190e76d7a76SJohn McNamara    where 1 <= N <= "number of ports" on the board or ``CONFIG_RTE_MAX_ETHPORTS`` from the configuration file.
191ac718398SBernard Iremonger    The default value is the number of ports on the board.
192ac718398SBernard Iremonger
193e76d7a76SJohn McNamara*   ``--coremask=0xXX``
194ac718398SBernard Iremonger
195ac718398SBernard Iremonger    Set the hexadecimal bitmask of the cores running the packet forwarding test.
196ac718398SBernard Iremonger    The master lcore is reserved for command line parsing only and cannot be masked on for packet forwarding.
197ac718398SBernard Iremonger
198e76d7a76SJohn McNamara*   ``--portmask=0xXX``
199ac718398SBernard Iremonger
200ac718398SBernard Iremonger    Set the hexadecimal bitmask of the ports used by the packet forwarding test.
201ac718398SBernard Iremonger
202e76d7a76SJohn McNamara*   ``--numa``
203ac718398SBernard Iremonger
204999b2ee0SBruce Richardson    Enable NUMA-aware allocation of RX/TX rings and of RX memory buffers
205999b2ee0SBruce Richardson    (mbufs). [Default setting]
206999b2ee0SBruce Richardson
207999b2ee0SBruce Richardson*   ``--no-numa``
208999b2ee0SBruce Richardson
209999b2ee0SBruce Richardson    Disable NUMA-aware allocation of RX/TX rings and of RX memory buffers (mbufs).
210ac718398SBernard Iremonger
211e76d7a76SJohn McNamara*   ``--port-numa-config=(port,socket)[,(port,socket)]``
212ac718398SBernard Iremonger
213ac718398SBernard Iremonger    Specify the socket on which the memory pool to be used by the port will be allocated.
214ac718398SBernard Iremonger
215e76d7a76SJohn McNamara*   ``--ring-numa-config=(port,flag,socket)[,(port,flag,socket)]``
216ac718398SBernard Iremonger
217ac718398SBernard Iremonger    Specify the socket on which the TX/RX rings for the port will be allocated.
218ac718398SBernard Iremonger    Where flag is 1 for RX, 2 for TX, and 3 for RX and TX.
219ac718398SBernard Iremonger
220e76d7a76SJohn McNamara*   ``--socket-num=N``
221ac718398SBernard Iremonger
222ac718398SBernard Iremonger    Set the socket from which all memory is allocated in NUMA mode,
223ac718398SBernard Iremonger    where 0 <= N < number of sockets on the board.
224ac718398SBernard Iremonger
225e76d7a76SJohn McNamara*   ``--mbuf-size=N``
226ac718398SBernard Iremonger
227ac718398SBernard Iremonger    Set the data size of the mbufs used to N bytes, where N < 65536. The default value is 2048.
228ac718398SBernard Iremonger
229e76d7a76SJohn McNamara*   ``--total-num-mbufs=N``
230ac718398SBernard Iremonger
231ac718398SBernard Iremonger    Set the number of mbufs to be allocated in the mbuf pools, where N > 1024.
232ac718398SBernard Iremonger
233e76d7a76SJohn McNamara*   ``--max-pkt-len=N``
234ac718398SBernard Iremonger
235ac718398SBernard Iremonger    Set the maximum packet size to N bytes, where N >= 64. The default value is 1518.
236ac718398SBernard Iremonger
237e76d7a76SJohn McNamara*   ``--eth-peers-configfile=name``
238ac718398SBernard Iremonger
239ac718398SBernard Iremonger    Use a configuration file containing the Ethernet addresses of the peer ports.
240e76d7a76SJohn McNamara    The configuration file should contain the Ethernet addresses on separate lines::
241ac718398SBernard Iremonger
242ac718398SBernard Iremonger       XX:XX:XX:XX:XX:01
243ac718398SBernard Iremonger       XX:XX:XX:XX:XX:02
244ac718398SBernard Iremonger       ...
245ac718398SBernard Iremonger
246ac718398SBernard Iremonger
247e76d7a76SJohn McNamara*   ``--eth-peer=N,XX:XX:XX:XX:XX:XX``
248ac718398SBernard Iremonger
249e76d7a76SJohn McNamara    Set the MAC address ``XX:XX:XX:XX:XX:XX`` of the peer port N,
250e76d7a76SJohn McNamara    where 0 <= N < ``CONFIG_RTE_MAX_ETHPORTS`` from the configuration file.
251ac718398SBernard Iremonger
252e76d7a76SJohn McNamara*   ``--pkt-filter-mode=mode``
253ac718398SBernard Iremonger
254e76d7a76SJohn McNamara    Set Flow Director mode where mode is either ``none`` (the default), ``signature`` or ``perfect``.
255e76d7a76SJohn McNamara    See :ref:`testpmd_flow_director` for more details.
256ac718398SBernard Iremonger
257e76d7a76SJohn McNamara*   ``--pkt-filter-report-hash=mode``
258ac718398SBernard Iremonger
259e76d7a76SJohn McNamara    Set Flow Director hash match reporting mode where mode is ``none``, ``match`` (the default) or ``always``.
260e76d7a76SJohn McNamara
261e76d7a76SJohn McNamara*   ``--pkt-filter-size=N``
262ac718398SBernard Iremonger
263ac718398SBernard Iremonger    Set Flow Director allocated memory size, where N is 64K, 128K or 256K.
264ac718398SBernard Iremonger    Sizes are in kilobytes. The default is 64.
265ac718398SBernard Iremonger
266e76d7a76SJohn McNamara*   ``--pkt-filter-flexbytes-offset=N``
267ac718398SBernard Iremonger
268ac718398SBernard Iremonger    Set the flexbytes offset.
269ac718398SBernard Iremonger    The offset is defined in words (not bytes) counted from the first byte of the destination Ethernet MAC address,
270ac718398SBernard Iremonger    where N is 0 <= N <= 32.
271ac718398SBernard Iremonger    The default value is 0x6.
272ac718398SBernard Iremonger
273e76d7a76SJohn McNamara*   ``--pkt-filter-drop-queue=N``
274ac718398SBernard Iremonger
275ac718398SBernard Iremonger    Set the drop-queue.
276ac718398SBernard Iremonger    In perfect filter mode, when a rule is added with queue = -1, the packet will be enqueued into the RX drop-queue.
277ac718398SBernard Iremonger    If the drop-queue does not exist, the packet is dropped. The default value is N=127.
278ac718398SBernard Iremonger
27979dd163fSJeff Guo*   ``--disable-crc-strip``
280ac718398SBernard Iremonger
28179dd163fSJeff Guo    Disable hardware CRC stripping.
282ac718398SBernard Iremonger
2834c3ea508SOlivier Matz*   ``--enable-lro``
2844c3ea508SOlivier Matz
2854c3ea508SOlivier Matz    Enable large receive offload.
2864c3ea508SOlivier Matz
287e76d7a76SJohn McNamara*   ``--enable-rx-cksum``
288ac718398SBernard Iremonger
289ac718398SBernard Iremonger    Enable hardware RX checksum offload.
290ac718398SBernard Iremonger
29104997938SMaciej Czekaj*   ``--enable-scatter``
29204997938SMaciej Czekaj
29304997938SMaciej Czekaj    Enable scatter (multi-segment) RX.
29404997938SMaciej Czekaj
2958b9bd0efSMoti Haimovsky*   ``--enable-hw-vlan``
296ac718398SBernard Iremonger
2978b9bd0efSMoti Haimovsky    Enable hardware VLAN.
298ac718398SBernard Iremonger
2998b9bd0efSMoti Haimovsky*   ``--enable-hw-vlan-filter``
300f2552cd5SOuyang Changchun
3018b9bd0efSMoti Haimovsky    Enable hardware VLAN filter.
302f2552cd5SOuyang Changchun
3038b9bd0efSMoti Haimovsky*   ``--enable-hw-vlan-strip``
304f2552cd5SOuyang Changchun
3058b9bd0efSMoti Haimovsky    Enable hardware VLAN strip.
306f2552cd5SOuyang Changchun
3078b9bd0efSMoti Haimovsky*   ``--enable-hw-vlan-extend``
308f2552cd5SOuyang Changchun
3098b9bd0efSMoti Haimovsky    Enable hardware VLAN extend.
310f2552cd5SOuyang Changchun
311e76d7a76SJohn McNamara*   ``--enable-drop-en``
312ac718398SBernard Iremonger
313ac718398SBernard Iremonger    Enable per-queue packet drop for packets with no descriptors.
314ac718398SBernard Iremonger
315e76d7a76SJohn McNamara*   ``--disable-rss``
316ac718398SBernard Iremonger
317ac718398SBernard Iremonger    Disable RSS (Receive Side Scaling).
318ac718398SBernard Iremonger
319e76d7a76SJohn McNamara*   ``--port-topology=mode``
320ac718398SBernard Iremonger
321e76d7a76SJohn McNamara    Set port topology, where mode is ``paired`` (the default) or ``chained``.
322e76d7a76SJohn McNamara
323e76d7a76SJohn McNamara    In ``paired`` mode, the forwarding is between pairs of ports, for example: (0,1), (2,3), (4,5).
324e76d7a76SJohn McNamara
325e76d7a76SJohn McNamara    In ``chained`` mode, the forwarding is to the next available port in the port mask, for example: (0,1), (1,2), (2,0).
326e76d7a76SJohn McNamara
327ac718398SBernard Iremonger    The ordering of the ports can be changed using the portlist testpmd runtime function.
328ac718398SBernard Iremonger
329e76d7a76SJohn McNamara*   ``--forward-mode=mode``
330ac718398SBernard Iremonger
331e76d7a76SJohn McNamara    Set the forwarding mode where ``mode`` is one of the following::
332ac718398SBernard Iremonger
333e76d7a76SJohn McNamara       io (the default)
334e76d7a76SJohn McNamara       mac
335e76d7a76SJohn McNamara       mac_swap
336e76d7a76SJohn McNamara       flowgen
337e76d7a76SJohn McNamara       rxonly
338e76d7a76SJohn McNamara       txonly
339e76d7a76SJohn McNamara       csum
340e76d7a76SJohn McNamara       icmpecho
341e76d7a76SJohn McNamara       ieee1588
3425b590fbeSJasvinder Singh       tm
343e76d7a76SJohn McNamara
344e76d7a76SJohn McNamara*   ``--rss-ip``
345ac718398SBernard Iremonger
346ac718398SBernard Iremonger    Set RSS functions for IPv4/IPv6 only.
347ac718398SBernard Iremonger
348e76d7a76SJohn McNamara*   ``--rss-udp``
349ac718398SBernard Iremonger
350ac718398SBernard Iremonger    Set RSS functions for IPv4/IPv6 and UDP.
351ac718398SBernard Iremonger
352e76d7a76SJohn McNamara*   ``--rxq=N``
353ac718398SBernard Iremonger
354ac718398SBernard Iremonger    Set the number of RX queues per port to N, where 1 <= N <= 65535.
355ac718398SBernard Iremonger    The default value is 1.
356ac718398SBernard Iremonger
357e76d7a76SJohn McNamara*   ``--rxd=N``
358ac718398SBernard Iremonger
359ac718398SBernard Iremonger    Set the number of descriptors in the RX rings to N, where N > 0.
360ac718398SBernard Iremonger    The default value is 128.
361ac718398SBernard Iremonger
362e76d7a76SJohn McNamara*   ``--txq=N``
363ac718398SBernard Iremonger
364ac718398SBernard Iremonger    Set the number of TX queues per port to N, where 1 <= N <= 65535.
365ac718398SBernard Iremonger    The default value is 1.
366ac718398SBernard Iremonger
367e76d7a76SJohn McNamara*   ``--txd=N``
368ac718398SBernard Iremonger
369ac718398SBernard Iremonger    Set the number of descriptors in the TX rings to N, where N > 0.
370ac718398SBernard Iremonger    The default value is 512.
371ac718398SBernard Iremonger
372e76d7a76SJohn McNamara*   ``--burst=N``
373ac718398SBernard Iremonger
374ac718398SBernard Iremonger    Set the number of packets per burst to N, where 1 <= N <= 512.
3758599ed31SRemy Horton    The default value is 32.
3768599ed31SRemy Horton    If set to 0, driver default is used if defined. Else, if driver
3778599ed31SRemy Horton    default is not defined, default of 32 is used.
378ac718398SBernard Iremonger
379e76d7a76SJohn McNamara*   ``--mbcache=N``
380ac718398SBernard Iremonger
381ac718398SBernard Iremonger    Set the cache of mbuf memory pools to N, where 0 <= N <= 512.
382ac718398SBernard Iremonger    The default value is 16.
383ac718398SBernard Iremonger
384e76d7a76SJohn McNamara*   ``--rxpt=N``
385ac718398SBernard Iremonger
386ac718398SBernard Iremonger    Set the prefetch threshold register of RX rings to N, where N >= 0.
387ac718398SBernard Iremonger    The default value is 8.
388ac718398SBernard Iremonger
389e76d7a76SJohn McNamara*   ``--rxht=N``
390ac718398SBernard Iremonger
391ac718398SBernard Iremonger    Set the host threshold register of RX rings to N, where N >= 0.
392ac718398SBernard Iremonger    The default value is 8.
393ac718398SBernard Iremonger
394e76d7a76SJohn McNamara*   ``--rxfreet=N``
395ac718398SBernard Iremonger
396ac718398SBernard Iremonger    Set the free threshold of RX descriptors to N, where 0 <= N < value of --rxd.
397ac718398SBernard Iremonger    The default value is 0.
398ac718398SBernard Iremonger
399e76d7a76SJohn McNamara*   ``--rxwt=N``
400ac718398SBernard Iremonger
401ac718398SBernard Iremonger    Set the write-back threshold register of RX rings to N, where N >= 0.
402ac718398SBernard Iremonger    The default value is 4.
403ac718398SBernard Iremonger
404e76d7a76SJohn McNamara*   ``--txpt=N``
405ac718398SBernard Iremonger
406ac718398SBernard Iremonger    Set the prefetch threshold register of TX rings to N, where N >= 0.
407ac718398SBernard Iremonger    The default value is 36.
408ac718398SBernard Iremonger
409e76d7a76SJohn McNamara*   ``--txht=N``
410ac718398SBernard Iremonger
411ac718398SBernard Iremonger    Set the host threshold register of TX rings to N, where N >= 0.
412ac718398SBernard Iremonger    The default value is 0.
413ac718398SBernard Iremonger
414e76d7a76SJohn McNamara*   ``--txwt=N``
415ac718398SBernard Iremonger
416ac718398SBernard Iremonger    Set the write-back threshold register of TX rings to N, where N >= 0.
417ac718398SBernard Iremonger    The default value is 0.
418ac718398SBernard Iremonger
419e76d7a76SJohn McNamara*   ``--txfreet=N``
420ac718398SBernard Iremonger
421e76d7a76SJohn McNamara    Set the transmit free threshold of TX rings to N, where 0 <= N <= value of ``--txd``.
422ac718398SBernard Iremonger    The default value is 0.
423ac718398SBernard Iremonger
424e76d7a76SJohn McNamara*   ``--txrst=N``
425ac718398SBernard Iremonger
426e76d7a76SJohn McNamara    Set the transmit RS bit threshold of TX rings to N, where 0 <= N <= value of ``--txd``.
427ac718398SBernard Iremonger    The default value is 0.
428ac718398SBernard Iremonger
429e76d7a76SJohn McNamara*   ``--rx-queue-stats-mapping=(port,queue,mapping)[,(port,queue,mapping)]``
430ac718398SBernard Iremonger
431ac718398SBernard Iremonger    Set the RX queues statistics counters mapping 0 <= mapping <= 15.
432ac718398SBernard Iremonger
433e76d7a76SJohn McNamara*   ``--tx-queue-stats-mapping=(port,queue,mapping)[,(port,queue,mapping)]``
434ac718398SBernard Iremonger
435ac718398SBernard Iremonger    Set the TX queues statistics counters mapping 0 <= mapping <= 15.
436ac718398SBernard Iremonger
437e76d7a76SJohn McNamara*   ``--no-flush-rx``
438ac718398SBernard Iremonger
439e76d7a76SJohn McNamara    Don't flush the RX streams before starting forwarding. Used mainly with the PCAP PMD.
440ac718398SBernard Iremonger
441e76d7a76SJohn McNamara*   ``--txpkts=X[,Y]``
442ac718398SBernard Iremonger
4432ebacaa7SMaciej Czekaj    Set TX segment sizes or total packet length. Valid for ``tx-only``
4442ebacaa7SMaciej Czekaj    and ``flowgen`` forwarding modes.
445ac718398SBernard Iremonger
446e76d7a76SJohn McNamara*   ``--disable-link-check``
447ac718398SBernard Iremonger
448ac718398SBernard Iremonger    Disable check on link status when starting/stopping ports.
449b8628a0eSGaetan Rivet
450b8628a0eSGaetan Rivet*   ``--no-lsc-interrupt``
451b8628a0eSGaetan Rivet
452b8628a0eSGaetan Rivet    Disable LSC interrupts for all ports, even those supporting it.
453b8628a0eSGaetan Rivet
454b8628a0eSGaetan Rivet*   ``--no-rmv-interrupt``
455b8628a0eSGaetan Rivet
456b8628a0eSGaetan Rivet    Disable RMV interrupts for all ports, even those supporting it.
457e25e6c70SRemy Horton
458e25e6c70SRemy Horton*   ``--bitrate-stats=N``
459e25e6c70SRemy Horton
460e25e6c70SRemy Horton    Set the logical core N to perform bitrate calculation.
4613af72783SGaetan Rivet
4624fb82244SMatan Azrad*   ``--print-event <unknown|intr_lsc|queue_state|intr_reset|vf_mbox|macsec|intr_rmv|dev_probed|dev_released|all>``
4633af72783SGaetan Rivet
464b6b63dfdSGaetan Rivet    Enable printing the occurrence of the designated event. Using all will
465b6b63dfdSGaetan Rivet    enable all of them.
4663af72783SGaetan Rivet
4674fb82244SMatan Azrad*   ``--mask-event <unknown|intr_lsc|queue_state|intr_reset|vf_mbox|macsec|intr_rmv|dev_probed|dev_released|all>``
4683af72783SGaetan Rivet
469b6b63dfdSGaetan Rivet    Disable printing the occurrence of the designated event. Using all will
470b6b63dfdSGaetan Rivet    disable all of them.
4717ee3e944SVasily Philipov
4727ee3e944SVasily Philipov*   ``--flow-isolate-all``
4737ee3e944SVasily Philipov
4747ee3e944SVasily Philipov    Providing this parameter requests flow API isolated mode on all ports at
4757ee3e944SVasily Philipov    initialization time. It ensures all traffic is received through the
4767ee3e944SVasily Philipov    configured flow rules only (see flow command).
4777ee3e944SVasily Philipov
4787ee3e944SVasily Philipov    Ports that do not support this mode are automatically discarded.
479fd8c20aaSShahaf Shuler
480fd8c20aaSShahaf Shuler*   ``--tx-offloads=0xXXXXXXXX``
481fd8c20aaSShahaf Shuler
482fd8c20aaSShahaf Shuler    Set the hexadecimal bitmask of TX queue offloads.
483fd8c20aaSShahaf Shuler    The default value is 0.
484fb73e096SJeff Guo
485fb73e096SJeff Guo*   ``--hot-plug``
486fb73e096SJeff Guo
487fb73e096SJeff Guo    Enable device event monitor machenism for hotplug.
48839e5e20fSXueming Li
48939e5e20fSXueming Li*   ``--vxlan-gpe-port=N``
49039e5e20fSXueming Li
49139e5e20fSXueming Li    Set the UDP port number of tunnel VXLAN-GPE to N.
49239e5e20fSXueming Li    The default value is 4790.
493e505d84cSAnatoly Burakov
494e505d84cSAnatoly Burakov*   ``--mlockall``
495e505d84cSAnatoly Burakov
496e505d84cSAnatoly Burakov    Enable locking all memory.
497e505d84cSAnatoly Burakov
498e505d84cSAnatoly Burakov*   ``--no-mlockall``
499e505d84cSAnatoly Burakov
500e505d84cSAnatoly Burakov    Disable locking all memory.
501*c7f5dba7SAnatoly Burakov
502*c7f5dba7SAnatoly Burakov*   ``--mp-alloc <native|anon|xmem|xmemhuge>``
503*c7f5dba7SAnatoly Burakov
504*c7f5dba7SAnatoly Burakov    Select mempool allocation mode:
505*c7f5dba7SAnatoly Burakov
506*c7f5dba7SAnatoly Burakov    * native: create and populate mempool using native DPDK memory
507*c7f5dba7SAnatoly Burakov    * anon: create mempool using native DPDK memory, but populate using
508*c7f5dba7SAnatoly Burakov      anonymous memory
509*c7f5dba7SAnatoly Burakov    * xmem: create and populate mempool using externally and anonymously
510*c7f5dba7SAnatoly Burakov      allocated area
511*c7f5dba7SAnatoly Burakov    * xmemhuge: create and populate mempool using externally and anonymously
512*c7f5dba7SAnatoly Burakov      allocated hugepage area
513