xref: /dpdk/doc/guides/testpmd_app_ug/run_app.rst (revision be2d7a05eb3f2f12eb16f3b43b0b8fa4f62fe655)
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.
39bd89cca3SSiobhan ButlerSee the DPDK Getting Started Guide for more information on these options.
40ac718398SBernard Iremonger
41ac718398SBernard Iremonger*   -c COREMASK
42ac718398SBernard Iremonger
43ac718398SBernard Iremonger    Set the hexadecimal bitmask of the cores to run on.
44ac718398SBernard Iremonger
45e3ab7a94SPablo de Lara*   -l CORELIST
46e3ab7a94SPablo de Lara
47e3ab7a94SPablo de Lara    List of cores to run on
48e3ab7a94SPablo de Lara
49e3ab7a94SPablo de Lara    The argument format is <c1>[-c2][,c3[-c4],...]
50e3ab7a94SPablo de Lara    where c1, c2, etc are core indexes between 0 and 128
51e3ab7a94SPablo de Lara
52e3ab7a94SPablo de Lara*   --lcores COREMAP
53e3ab7a94SPablo de Lara
54e3ab7a94SPablo de Lara    Map lcore set to physical cpu set
55e3ab7a94SPablo de Lara
56e3ab7a94SPablo de Lara    The argument format is
57e3ab7a94SPablo de Lara        '<lcores[@cpus]>[<,lcores[@cpus]>...]'
58e3ab7a94SPablo de Lara
59e3ab7a94SPablo de Lara    lcores and cpus list are grouped by '(' and ')'
60e3ab7a94SPablo de Lara    Within the group, '-' is used for range separator,
61e3ab7a94SPablo de Lara    ',' is used for single number separator.
62e3ab7a94SPablo de Lara    '( )' can be omitted for single element group,
63e3ab7a94SPablo de Lara    '@' can be omitted if cpus and lcores have the same value
64e3ab7a94SPablo de Lara
65e3ab7a94SPablo de Lara*   --master-lcore ID
66e3ab7a94SPablo de Lara
67e3ab7a94SPablo de Lara    Core ID that is used as master
68e3ab7a94SPablo de Lara
69ac718398SBernard Iremonger*   -n NUM
70ac718398SBernard Iremonger
71ac718398SBernard Iremonger    Set the number of memory channels to use.
72ac718398SBernard Iremonger
73ac718398SBernard Iremonger*   -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
77ac718398SBernard Iremonger*   -d LIB.so
78ac718398SBernard Iremonger
79ac718398SBernard Iremonger    Load an external driver. Multiple -d options are allowed.
80ac718398SBernard Iremonger
81ac718398SBernard Iremonger*   -w, --pci-whitelist domain:bus:devid:func
82ac718398SBernard Iremonger
83ac718398SBernard Iremonger    Add a PCI device in white list.
84ac718398SBernard Iremonger
85ac718398SBernard Iremonger*   -m MB
86ac718398SBernard Iremonger
87ac718398SBernard Iremonger    Memory to allocate. See also --socket-mem.
88ac718398SBernard Iremonger
89ac718398SBernard Iremonger*   -r NUM
90ac718398SBernard Iremonger
91ac718398SBernard Iremonger    Set the number of memory ranks (auto-detected by default).
92ac718398SBernard Iremonger
93ac718398SBernard Iremonger*   -v
94ac718398SBernard Iremonger
95ac718398SBernard Iremonger    Display the version information on startup.
96ac718398SBernard Iremonger
97ac718398SBernard Iremonger*   --xen-dom0
98ac718398SBernard Iremonger
99ac718398SBernard Iremonger    Support application running on Xen Domain0 without hugetlbfs.
100ac718398SBernard Iremonger
101ac718398SBernard Iremonger*   --syslog
102ac718398SBernard Iremonger
103ac718398SBernard Iremonger    Set the syslog facility.
104ac718398SBernard Iremonger
105ac718398SBernard Iremonger*   --socket-mem
106ac718398SBernard Iremonger
107ac718398SBernard Iremonger    Set the memory to allocate on specific sockets (use comma separated values).
108ac718398SBernard Iremonger
109ac718398SBernard Iremonger*   --huge-dir
110ac718398SBernard Iremonger
111ac718398SBernard Iremonger    Specify the directory where the hugetlbfs is mounted.
112ac718398SBernard Iremonger
113ac718398SBernard Iremonger*   --proc-type
114ac718398SBernard Iremonger
115ac718398SBernard Iremonger    Set the type of the current process.
116ac718398SBernard Iremonger
117ac718398SBernard Iremonger*   --file-prefix
118ac718398SBernard Iremonger
119ac718398SBernard Iremonger    Prefix for hugepage filenames.
120ac718398SBernard Iremonger
121ac718398SBernard Iremonger*   -vmware-tsc-map
122ac718398SBernard Iremonger
123ac718398SBernard Iremonger    Use VMware TSC map instead of native RDTSC.
124ac718398SBernard Iremonger
125ac718398SBernard Iremonger*   --vdev
126ac718398SBernard Iremonger
127ac718398SBernard Iremonger    Add a virtual device, with format "<driver><id>[,key=val, ...]", e.g. --vdev=eth_pcap0,iface=eth2.
128ac718398SBernard Iremonger
129ac718398SBernard Iremonger*   --base-virtaddr
130ac718398SBernard Iremonger
131ac718398SBernard Iremonger    Specify base virtual address.
132ac718398SBernard Iremonger
133ac718398SBernard Iremonger*   --create-uio-dev
134ac718398SBernard Iremonger
135ac718398SBernard Iremonger    Create /dev/uioX (usually done by hotplug).
136ac718398SBernard Iremonger
137ac718398SBernard Iremonger*   --no-shconf
138ac718398SBernard Iremonger
139ac718398SBernard Iremonger    No shared config (mmap'd files).
140ac718398SBernard Iremonger
141ac718398SBernard Iremonger*   --no-pci
142ac718398SBernard Iremonger
143ac718398SBernard Iremonger    Disable pci.
144ac718398SBernard Iremonger
145ac718398SBernard Iremonger*   --no-hpet
146ac718398SBernard Iremonger
147ac718398SBernard Iremonger    Disable hpet.
148ac718398SBernard Iremonger
149ac718398SBernard Iremonger*   --no-huge
150ac718398SBernard Iremonger
151ac718398SBernard Iremonger    Use malloc instead of hugetlbfs.
152ac718398SBernard Iremonger
153ac718398SBernard Iremonger
154ac718398SBernard IremongerTestpmd Command-line Options
155ac718398SBernard Iremonger----------------------------
156ac718398SBernard Iremonger
157ac718398SBernard IremongerThe following are the command-line options for the testpmd applications.
158ac718398SBernard IremongerThey must be separated from the EAL options, shown in the previous section, with a -- separator:
159ac718398SBernard Iremonger
160ac718398SBernard Iremonger.. code-block:: console
161ac718398SBernard Iremonger
162ac718398SBernard Iremonger    sudo ./testpmd -c 0xF -n 4 -- -i --portmask=0x1 --nb-cores=2
163ac718398SBernard Iremonger
164ac718398SBernard Iremonger*   -i, --interactive
165ac718398SBernard Iremonger
166ac718398SBernard Iremonger    Run testpmd in interactive mode.
167ac718398SBernard Iremonger    In this mode, the testpmd starts with a prompt that can be used to start and stop forwarding,
168ac718398SBernard Iremonger    configure the application and display stats on the current packet processing session.
169ac718398SBernard Iremonger    See the Section 5.0, "Test Runtime Functions" section for more details.
170ac718398SBernard Iremonger
171ac718398SBernard Iremonger    In non-interactive mode,
172ac718398SBernard Iremonger    the application starts with the configuration specified on the command-line and
173ac718398SBernard Iremonger    immediately enters forwarding mode.
174ac718398SBernard Iremonger
175ac718398SBernard Iremonger*   -h, --help
176ac718398SBernard Iremonger
177ac718398SBernard Iremonger    Display a help message and quit.
178ac718398SBernard Iremonger
179ac718398SBernard Iremonger*   -a, --auto-start
180ac718398SBernard Iremonger
181ac718398SBernard Iremonger    Start forwarding on init.
182ac718398SBernard Iremonger
183ac718398SBernard Iremonger*   --nb-cores=N
184ac718398SBernard Iremonger
185ac718398SBernard Iremonger    Set the number of forwarding cores,
186ac718398SBernard Iremonger    where 1 <= N <= number of cores or RTE_MAX_LCORE from the configuration file.
187ac718398SBernard Iremonger    The default value is 1.
188ac718398SBernard Iremonger
189ac718398SBernard Iremonger*   --nb-ports=N
190ac718398SBernard Iremonger
191ac718398SBernard Iremonger    Set the number of forwarding ports,
192ac718398SBernard Iremonger    where 1 <= N <= number of ports on the board or RTE_MAX_ETHPORTS from the configuration file.
193ac718398SBernard Iremonger    The default value is the number of ports on the board.
194ac718398SBernard Iremonger
195ac718398SBernard Iremonger*   --coremask=0xXX
196ac718398SBernard Iremonger
197ac718398SBernard Iremonger    Set the hexadecimal bitmask of the cores running the packet forwarding test.
198ac718398SBernard Iremonger    The master lcore is reserved for command line parsing only and cannot be masked on for packet forwarding.
199ac718398SBernard Iremonger
200ac718398SBernard Iremonger*   --portmask=0xXX
201ac718398SBernard Iremonger
202ac718398SBernard Iremonger    Set the hexadecimal bitmask of the ports used by the packet forwarding test.
203ac718398SBernard Iremonger
204ac718398SBernard Iremonger*   --numa
205ac718398SBernard Iremonger
206ac718398SBernard Iremonger    Enable NUMA-aware allocation of RX/TX rings and of RX memory buffers (mbufs).
207ac718398SBernard Iremonger
208ac718398SBernard Iremonger*   --port-numa-config=(port,socket)[,(port,socket)]
209ac718398SBernard Iremonger
210ac718398SBernard Iremonger    Specify the socket on which the memory pool to be used by the port will be allocated.
211ac718398SBernard Iremonger
212ac718398SBernard Iremonger*   --ring-numa-config=(port,flag,socket)[,(port,flag,socket)]
213ac718398SBernard Iremonger
214ac718398SBernard Iremonger    Specify the socket on which the TX/RX rings for the port will be allocated.
215ac718398SBernard Iremonger    Where flag is 1 for RX, 2 for TX, and 3 for RX and TX.
216ac718398SBernard Iremonger
217ac718398SBernard Iremonger*   --socket-num=N
218ac718398SBernard Iremonger
219ac718398SBernard Iremonger    Set the socket from which all memory is allocated in NUMA mode,
220ac718398SBernard Iremonger    where 0 <= N < number of sockets on the board.
221ac718398SBernard Iremonger
222ac718398SBernard Iremonger*   --mbuf-size=N
223ac718398SBernard Iremonger
224ac718398SBernard Iremonger    Set the data size of the mbufs used to N bytes, where N < 65536. The default value is 2048.
225ac718398SBernard Iremonger
226ac718398SBernard Iremonger*   --total-num-mbufs=N
227ac718398SBernard Iremonger
228ac718398SBernard Iremonger    Set the number of mbufs to be allocated in the mbuf pools, where N > 1024.
229ac718398SBernard Iremonger
230ac718398SBernard Iremonger*   --max-pkt-len=N
231ac718398SBernard Iremonger
232ac718398SBernard Iremonger    Set the maximum packet size to N bytes, where N >= 64. The default value is 1518.
233ac718398SBernard Iremonger
234ac718398SBernard Iremonger*   --eth-peers-configfile=name
235ac718398SBernard Iremonger
236ac718398SBernard Iremonger    Use a configuration file containing the Ethernet addresses of the peer ports.
237ac718398SBernard Iremonger    The configuration file should contain the Ethernet addresses on separate lines:
238ac718398SBernard Iremonger
239ac718398SBernard Iremonger    XX:XX:XX:XX:XX:01
240ac718398SBernard Iremonger
241ac718398SBernard Iremonger    XX:XX:XX:XX:XX:02
242ac718398SBernard Iremonger
243ac718398SBernard Iremonger    ...
244ac718398SBernard Iremonger
245ac718398SBernard Iremonger*   --eth-peer=N,XX:XX:XX:XX:XX:XX
246ac718398SBernard Iremonger
247ac718398SBernard Iremonger    Set the MAC address XX:XX:XX:XX:XX:XX of the peer port N,
248ac718398SBernard Iremonger    where 0 <= N < RTE_MAX_ETHPORTS from the configuration file.
249ac718398SBernard Iremonger
250ac718398SBernard Iremonger*   --pkt-filter-mode=mode
251ac718398SBernard Iremonger
252ac718398SBernard Iremonger    Set Flow Director mode where mode is either none (the default), signature or perfect.
253ac718398SBernard Iremonger    See the Section 5.6, "Flow Director Functions" for more detail.
254ac718398SBernard Iremonger
255ac718398SBernard Iremonger*   --pkt-filter-report-hash=mode
256ac718398SBernard Iremonger
257ac718398SBernard Iremonger    Set Flow Director hash match reporting mode where mode is none, match (the default) or always.
258ac718398SBernard Iremonger
259ac718398SBernard Iremonger*   --pkt-filter-size=N
260ac718398SBernard Iremonger
261ac718398SBernard Iremonger    Set Flow Director allocated memory size, where N is 64K, 128K or 256K.
262ac718398SBernard Iremonger    Sizes are in kilobytes. The default is 64.
263ac718398SBernard Iremonger
264ac718398SBernard Iremonger*   --pkt-filter-flexbytes-offset=N
265ac718398SBernard Iremonger
266ac718398SBernard Iremonger    Set the flexbytes offset.
267ac718398SBernard Iremonger    The offset is defined in words (not bytes) counted from the first byte of the destination Ethernet MAC address,
268ac718398SBernard Iremonger    where N is 0 <= N <= 32.
269ac718398SBernard Iremonger    The default value is 0x6.
270ac718398SBernard Iremonger
271ac718398SBernard Iremonger*   --pkt-filter-drop-queue=N
272ac718398SBernard Iremonger
273ac718398SBernard Iremonger    Set the drop-queue.
274ac718398SBernard Iremonger    In perfect filter mode, when a rule is added with queue = -1, the packet will be enqueued into the RX drop-queue.
275ac718398SBernard Iremonger    If the drop-queue does not exist, the packet is dropped. The default value is N=127.
276ac718398SBernard Iremonger
277ac718398SBernard Iremonger*   --crc-strip
278ac718398SBernard Iremonger
279ac718398SBernard Iremonger    Enable hardware CRC stripping.
280ac718398SBernard Iremonger
281ac718398SBernard Iremonger*   --enable-rx-cksum
282ac718398SBernard Iremonger
283ac718398SBernard Iremonger    Enable hardware RX checksum offload.
284ac718398SBernard Iremonger
285ac718398SBernard Iremonger*   --disable-hw-vlan
286ac718398SBernard Iremonger
287ac718398SBernard Iremonger    Disable hardware VLAN.
288ac718398SBernard Iremonger
289f2552cd5SOuyang Changchun*   --disable-hw-vlan-filter
290f2552cd5SOuyang Changchun
291f2552cd5SOuyang Changchun    Disable hardware VLAN filter.
292f2552cd5SOuyang Changchun
293f2552cd5SOuyang Changchun*   --disable-hw-vlan-strip
294f2552cd5SOuyang Changchun
295f2552cd5SOuyang Changchun    Disable hardware VLAN strip.
296f2552cd5SOuyang Changchun
297f2552cd5SOuyang Changchun*   --disable-hw-vlan-extend
298f2552cd5SOuyang Changchun
299f2552cd5SOuyang Changchun    Disable hardware VLAN extend.
300f2552cd5SOuyang Changchun
301ac718398SBernard Iremonger*   --enable-drop-en
302ac718398SBernard Iremonger
303ac718398SBernard Iremonger    Enable per-queue packet drop for packets with no descriptors.
304ac718398SBernard Iremonger
305ac718398SBernard Iremonger*   --disable-rss
306ac718398SBernard Iremonger
307ac718398SBernard Iremonger    Disable RSS (Receive Side Scaling).
308ac718398SBernard Iremonger
309ac718398SBernard Iremonger*   --port-topology=mode
310ac718398SBernard Iremonger
311ac718398SBernard Iremonger    Set port topology, where mode is paired(the default) or chained.
312ac718398SBernard Iremonger    In paired mode, the forwarding is between pairs of ports, for example: (0,1), (2,3), (4,5).
313ac718398SBernard Iremonger    In chained mode, the forwarding is to the next available port in the port mask, for example: (0,1), (1,2), (2,0).
314ac718398SBernard Iremonger    The ordering of the ports can be changed using the portlist testpmd runtime function.
315ac718398SBernard Iremonger
316ac718398SBernard Iremonger*   --forward-mode=N
317ac718398SBernard Iremonger
318ac718398SBernard Iremonger    Set forwarding mode. (N: io|mac|mac_retry|mac_swap|flowgen|rxonly|txonly|csum|icmpecho)
319ac718398SBernard Iremonger
320ac718398SBernard Iremonger*   --rss-ip
321ac718398SBernard Iremonger
322ac718398SBernard Iremonger    Set RSS functions for IPv4/IPv6 only.
323ac718398SBernard Iremonger
324ac718398SBernard Iremonger*   --rss-udp
325ac718398SBernard Iremonger
326ac718398SBernard Iremonger    Set RSS functions for IPv4/IPv6 and UDP.
327ac718398SBernard Iremonger
328ac718398SBernard Iremonger*   --rxq=N
329ac718398SBernard Iremonger
330ac718398SBernard Iremonger    Set the number of RX queues per port to N, where 1 <= N <= 65535.
331ac718398SBernard Iremonger    The default value is 1.
332ac718398SBernard Iremonger
333ac718398SBernard Iremonger*   --rxd=N
334ac718398SBernard Iremonger
335ac718398SBernard Iremonger    Set the number of descriptors in the RX rings to N, where N > 0.
336ac718398SBernard Iremonger    The default value is 128.
337ac718398SBernard Iremonger
338ac718398SBernard Iremonger*   --txq=N
339ac718398SBernard Iremonger
340ac718398SBernard Iremonger    Set the number of TX queues per port to N, where 1 <= N <= 65535.
341ac718398SBernard Iremonger    The default value is 1.
342ac718398SBernard Iremonger
343ac718398SBernard Iremonger*   --txd=N
344ac718398SBernard Iremonger
345ac718398SBernard Iremonger    Set the number of descriptors in the TX rings to N, where N > 0.
346ac718398SBernard Iremonger    The default value is 512.
347ac718398SBernard Iremonger
348ac718398SBernard Iremonger*   --burst=N
349ac718398SBernard Iremonger
350ac718398SBernard Iremonger    Set the number of packets per burst to N, where 1 <= N <= 512.
351ac718398SBernard Iremonger    The default value is 16.
352ac718398SBernard Iremonger
353ac718398SBernard Iremonger*   --mbcache=N
354ac718398SBernard Iremonger
355ac718398SBernard Iremonger    Set the cache of mbuf memory pools to N, where 0 <= N <= 512.
356ac718398SBernard Iremonger    The default value is 16.
357ac718398SBernard Iremonger
358ac718398SBernard Iremonger*   --rxpt=N
359ac718398SBernard Iremonger
360ac718398SBernard Iremonger    Set the prefetch threshold register of RX rings to N, where N >= 0.
361ac718398SBernard Iremonger    The default value is 8.
362ac718398SBernard Iremonger
363ac718398SBernard Iremonger*   --rxht=N
364ac718398SBernard Iremonger
365ac718398SBernard Iremonger    Set the host threshold register of RX rings to N, where N >= 0.
366ac718398SBernard Iremonger    The default value is 8.
367ac718398SBernard Iremonger
368ac718398SBernard Iremonger*   --rxfreet=N
369ac718398SBernard Iremonger
370ac718398SBernard Iremonger    Set the free threshold of RX descriptors to N, where 0 <= N < value of --rxd.
371ac718398SBernard Iremonger    The default value is 0.
372ac718398SBernard Iremonger
373ac718398SBernard Iremonger*   --rxwt=N
374ac718398SBernard Iremonger
375ac718398SBernard Iremonger    Set the write-back threshold register of RX rings to N, where N >= 0.
376ac718398SBernard Iremonger    The default value is 4.
377ac718398SBernard Iremonger
378ac718398SBernard Iremonger*   --txpt=N
379ac718398SBernard Iremonger
380ac718398SBernard Iremonger    Set the prefetch threshold register of TX rings to N, where N >= 0.
381ac718398SBernard Iremonger    The default value is 36.
382ac718398SBernard Iremonger
383ac718398SBernard Iremonger*   --txht=N
384ac718398SBernard Iremonger
385ac718398SBernard Iremonger    Set the host threshold register of TX rings to N, where N >= 0.
386ac718398SBernard Iremonger    The default value is 0.
387ac718398SBernard Iremonger
388ac718398SBernard Iremonger*   --txwt=N
389ac718398SBernard Iremonger
390ac718398SBernard Iremonger    Set the write-back threshold register of TX rings to N, where N >= 0.
391ac718398SBernard Iremonger    The default value is 0.
392ac718398SBernard Iremonger
393ac718398SBernard Iremonger*   --txfreet=N
394ac718398SBernard Iremonger
395ac718398SBernard Iremonger    Set the transmit free threshold of TX rings to N, where 0 <= N <= value of --txd.
396ac718398SBernard Iremonger    The default value is 0.
397ac718398SBernard Iremonger
398ac718398SBernard Iremonger*   --txrst=N
399ac718398SBernard Iremonger
400ac718398SBernard Iremonger    Set the transmit RS bit threshold of TX rings to N, where 0 <= N <= value of --txd.
401ac718398SBernard Iremonger    The default value is 0.
402ac718398SBernard Iremonger
403ac718398SBernard Iremonger*   --txqflags=0xXXXXXXXX
404ac718398SBernard Iremonger
405ac718398SBernard Iremonger    Set the hexadecimal bitmask of TX queue flags, where 0 <= N <= 0x7FFFFFFF.
406ac718398SBernard Iremonger    The default value is 0.
407ac718398SBernard Iremonger
408*be2d7a05SPablo de Lara    Note::
409*be2d7a05SPablo de Lara
410*be2d7a05SPablo de Lara        When using hardware offload functions such as vlan, checksum...,
411*be2d7a05SPablo de Lara        add txqflags=0, since depending on the PMD,
412*be2d7a05SPablo de Lara        txqflags might be set to a non-zero value.
413*be2d7a05SPablo de Lara
414ac718398SBernard Iremonger*   --rx-queue-stats-mapping=(port,queue,mapping)[,(port,queue,mapping)]
415ac718398SBernard Iremonger
416ac718398SBernard Iremonger    Set the RX queues statistics counters mapping 0 <= mapping <= 15.
417ac718398SBernard Iremonger
418ac718398SBernard Iremonger*   --tx-queue-stats-mapping=(port,queue,mapping)[,(port,queue,mapping)]
419ac718398SBernard Iremonger
420ac718398SBernard Iremonger    Set the TX queues statistics counters mapping 0 <= mapping <= 15.
421ac718398SBernard Iremonger
422ac718398SBernard Iremonger*   --no-flush-rx
423ac718398SBernard Iremonger
424ac718398SBernard Iremonger    Don't flush the RX streams before starting forwarding. Used mainly with PCAP drivers.
425ac718398SBernard Iremonger
426ac718398SBernard Iremonger*   --txpkts=X[,Y]
427ac718398SBernard Iremonger
428ac718398SBernard Iremonger    Set TX segment sizes.
429ac718398SBernard Iremonger
430ac718398SBernard Iremonger*   --disable-link-check
431ac718398SBernard Iremonger
432ac718398SBernard Iremonger    Disable check on link status when starting/stopping ports.
433