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 757dbdc537SRami Rosen Blacklist a PCI device 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* ``--syslog`` 98ac718398SBernard Iremonger 99ac718398SBernard Iremonger Set the syslog facility. 100ac718398SBernard Iremonger 101e76d7a76SJohn McNamara* ``--socket-mem`` 102ac718398SBernard Iremonger 103ac718398SBernard Iremonger Set the memory to allocate on specific sockets (use comma separated values). 104ac718398SBernard Iremonger 105e76d7a76SJohn McNamara* ``--huge-dir`` 106ac718398SBernard Iremonger 107ac718398SBernard Iremonger Specify the directory where the hugetlbfs is mounted. 108ac718398SBernard Iremonger 109a103a97eSSantosh Shukla* ``mbuf-pool-ops-name``: 110a103a97eSSantosh Shukla 111a103a97eSSantosh Shukla Pool ops name for mbuf to use. 112a103a97eSSantosh Shukla 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 16835b09d76SKeith Wiles sudo ./testpmd -l 0-3 -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 19199cabef0SPablo de Lara* ``--tx-first`` 19299cabef0SPablo de Lara 19399cabef0SPablo de Lara Start forwarding, after sending a burst of packets first. 19499cabef0SPablo de Lara 19599cabef0SPablo de Lara.. Note:: 19699cabef0SPablo de Lara 19799cabef0SPablo de Lara This flag should be only used in non-interactive mode. 19899cabef0SPablo de Lara 199cfea1f30SPablo de Lara* ``--stats-period PERIOD`` 200cfea1f30SPablo de Lara 201cfea1f30SPablo de Lara Display statistics every PERIOD seconds, if interactive mode is disabled. 202cfea1f30SPablo de Lara The default value is 0, which means that the statistics will not be displayed. 203cfea1f30SPablo de Lara 204e76d7a76SJohn McNamara* ``--nb-cores=N`` 205ac718398SBernard Iremonger 206ac718398SBernard Iremonger Set the number of forwarding cores, 207e76d7a76SJohn McNamara where 1 <= N <= "number of cores" or ``CONFIG_RTE_MAX_LCORE`` from the configuration file. 208ac718398SBernard Iremonger The default value is 1. 209ac718398SBernard Iremonger 210e76d7a76SJohn McNamara* ``--nb-ports=N`` 211ac718398SBernard Iremonger 212ac718398SBernard Iremonger Set the number of forwarding ports, 213e76d7a76SJohn McNamara where 1 <= N <= "number of ports" on the board or ``CONFIG_RTE_MAX_ETHPORTS`` from the configuration file. 214ac718398SBernard Iremonger The default value is the number of ports on the board. 215ac718398SBernard Iremonger 216e76d7a76SJohn McNamara* ``--coremask=0xXX`` 217ac718398SBernard Iremonger 218ac718398SBernard Iremonger Set the hexadecimal bitmask of the cores running the packet forwarding test. 219ac718398SBernard Iremonger The master lcore is reserved for command line parsing only and cannot be masked on for packet forwarding. 220ac718398SBernard Iremonger 221e76d7a76SJohn McNamara* ``--portmask=0xXX`` 222ac718398SBernard Iremonger 223ac718398SBernard Iremonger Set the hexadecimal bitmask of the ports used by the packet forwarding test. 224ac718398SBernard Iremonger 225e76d7a76SJohn McNamara* ``--numa`` 226ac718398SBernard Iremonger 227999b2ee0SBruce Richardson Enable NUMA-aware allocation of RX/TX rings and of RX memory buffers 228999b2ee0SBruce Richardson (mbufs). [Default setting] 229999b2ee0SBruce Richardson 230999b2ee0SBruce Richardson* ``--no-numa`` 231999b2ee0SBruce Richardson 232999b2ee0SBruce Richardson Disable NUMA-aware allocation of RX/TX rings and of RX memory buffers (mbufs). 233ac718398SBernard Iremonger 234e76d7a76SJohn McNamara* ``--port-numa-config=(port,socket)[,(port,socket)]`` 235ac718398SBernard Iremonger 236ac718398SBernard Iremonger Specify the socket on which the memory pool to be used by the port will be allocated. 237ac718398SBernard Iremonger 238e76d7a76SJohn McNamara* ``--ring-numa-config=(port,flag,socket)[,(port,flag,socket)]`` 239ac718398SBernard Iremonger 240ac718398SBernard Iremonger Specify the socket on which the TX/RX rings for the port will be allocated. 241ac718398SBernard Iremonger Where flag is 1 for RX, 2 for TX, and 3 for RX and TX. 242ac718398SBernard Iremonger 243e76d7a76SJohn McNamara* ``--socket-num=N`` 244ac718398SBernard Iremonger 245ac718398SBernard Iremonger Set the socket from which all memory is allocated in NUMA mode, 246ac718398SBernard Iremonger where 0 <= N < number of sockets on the board. 247ac718398SBernard Iremonger 248e76d7a76SJohn McNamara* ``--mbuf-size=N`` 249ac718398SBernard Iremonger 250ac718398SBernard Iremonger Set the data size of the mbufs used to N bytes, where N < 65536. The default value is 2048. 251ac718398SBernard Iremonger 252e76d7a76SJohn McNamara* ``--total-num-mbufs=N`` 253ac718398SBernard Iremonger 254ac718398SBernard Iremonger Set the number of mbufs to be allocated in the mbuf pools, where N > 1024. 255ac718398SBernard Iremonger 256e76d7a76SJohn McNamara* ``--max-pkt-len=N`` 257ac718398SBernard Iremonger 258ac718398SBernard Iremonger Set the maximum packet size to N bytes, where N >= 64. The default value is 1518. 259ac718398SBernard Iremonger 260e76d7a76SJohn McNamara* ``--eth-peers-configfile=name`` 261ac718398SBernard Iremonger 262ac718398SBernard Iremonger Use a configuration file containing the Ethernet addresses of the peer ports. 263e76d7a76SJohn McNamara The configuration file should contain the Ethernet addresses on separate lines:: 264ac718398SBernard Iremonger 265ac718398SBernard Iremonger XX:XX:XX:XX:XX:01 266ac718398SBernard Iremonger XX:XX:XX:XX:XX:02 267ac718398SBernard Iremonger ... 268ac718398SBernard Iremonger 269ac718398SBernard Iremonger 270e76d7a76SJohn McNamara* ``--eth-peer=N,XX:XX:XX:XX:XX:XX`` 271ac718398SBernard Iremonger 272e76d7a76SJohn McNamara Set the MAC address ``XX:XX:XX:XX:XX:XX`` of the peer port N, 273e76d7a76SJohn McNamara where 0 <= N < ``CONFIG_RTE_MAX_ETHPORTS`` from the configuration file. 274ac718398SBernard Iremonger 275e76d7a76SJohn McNamara* ``--pkt-filter-mode=mode`` 276ac718398SBernard Iremonger 277e76d7a76SJohn McNamara Set Flow Director mode where mode is either ``none`` (the default), ``signature`` or ``perfect``. 278e76d7a76SJohn McNamara See :ref:`testpmd_flow_director` for more details. 279ac718398SBernard Iremonger 280e76d7a76SJohn McNamara* ``--pkt-filter-report-hash=mode`` 281ac718398SBernard Iremonger 282e76d7a76SJohn McNamara Set Flow Director hash match reporting mode where mode is ``none``, ``match`` (the default) or ``always``. 283e76d7a76SJohn McNamara 284e76d7a76SJohn McNamara* ``--pkt-filter-size=N`` 285ac718398SBernard Iremonger 286ac718398SBernard Iremonger Set Flow Director allocated memory size, where N is 64K, 128K or 256K. 287ac718398SBernard Iremonger Sizes are in kilobytes. The default is 64. 288ac718398SBernard Iremonger 289e76d7a76SJohn McNamara* ``--pkt-filter-flexbytes-offset=N`` 290ac718398SBernard Iremonger 291ac718398SBernard Iremonger Set the flexbytes offset. 292ac718398SBernard Iremonger The offset is defined in words (not bytes) counted from the first byte of the destination Ethernet MAC address, 293ac718398SBernard Iremonger where N is 0 <= N <= 32. 294ac718398SBernard Iremonger The default value is 0x6. 295ac718398SBernard Iremonger 296e76d7a76SJohn McNamara* ``--pkt-filter-drop-queue=N`` 297ac718398SBernard Iremonger 298ac718398SBernard Iremonger Set the drop-queue. 299ac718398SBernard Iremonger In perfect filter mode, when a rule is added with queue = -1, the packet will be enqueued into the RX drop-queue. 300ac718398SBernard Iremonger If the drop-queue does not exist, the packet is dropped. The default value is N=127. 301ac718398SBernard Iremonger 30279dd163fSJeff Guo* ``--disable-crc-strip`` 303ac718398SBernard Iremonger 30479dd163fSJeff Guo Disable hardware CRC stripping. 305ac718398SBernard Iremonger 3064c3ea508SOlivier Matz* ``--enable-lro`` 3074c3ea508SOlivier Matz 3084c3ea508SOlivier Matz Enable large receive offload. 3094c3ea508SOlivier Matz 310e76d7a76SJohn McNamara* ``--enable-rx-cksum`` 311ac718398SBernard Iremonger 312ac718398SBernard Iremonger Enable hardware RX checksum offload. 313ac718398SBernard Iremonger 31404997938SMaciej Czekaj* ``--enable-scatter`` 31504997938SMaciej Czekaj 31604997938SMaciej Czekaj Enable scatter (multi-segment) RX. 31704997938SMaciej Czekaj 318e76d7a76SJohn McNamara* ``--disable-hw-vlan`` 319ac718398SBernard Iremonger 320ac718398SBernard Iremonger Disable hardware VLAN. 321ac718398SBernard Iremonger 322e76d7a76SJohn McNamara* ``--disable-hw-vlan-filter`` 323f2552cd5SOuyang Changchun 324f2552cd5SOuyang Changchun Disable hardware VLAN filter. 325f2552cd5SOuyang Changchun 326e76d7a76SJohn McNamara* ``--disable-hw-vlan-strip`` 327f2552cd5SOuyang Changchun 328f2552cd5SOuyang Changchun Disable hardware VLAN strip. 329f2552cd5SOuyang Changchun 330e76d7a76SJohn McNamara* ``--disable-hw-vlan-extend`` 331f2552cd5SOuyang Changchun 332f2552cd5SOuyang Changchun Disable hardware VLAN extend. 333f2552cd5SOuyang Changchun 334e76d7a76SJohn McNamara* ``--enable-drop-en`` 335ac718398SBernard Iremonger 336ac718398SBernard Iremonger Enable per-queue packet drop for packets with no descriptors. 337ac718398SBernard Iremonger 338e76d7a76SJohn McNamara* ``--disable-rss`` 339ac718398SBernard Iremonger 340ac718398SBernard Iremonger Disable RSS (Receive Side Scaling). 341ac718398SBernard Iremonger 342e76d7a76SJohn McNamara* ``--port-topology=mode`` 343ac718398SBernard Iremonger 344e76d7a76SJohn McNamara Set port topology, where mode is ``paired`` (the default) or ``chained``. 345e76d7a76SJohn McNamara 346e76d7a76SJohn McNamara In ``paired`` mode, the forwarding is between pairs of ports, for example: (0,1), (2,3), (4,5). 347e76d7a76SJohn McNamara 348e76d7a76SJohn McNamara In ``chained`` mode, the forwarding is to the next available port in the port mask, for example: (0,1), (1,2), (2,0). 349e76d7a76SJohn McNamara 350ac718398SBernard Iremonger The ordering of the ports can be changed using the portlist testpmd runtime function. 351ac718398SBernard Iremonger 352e76d7a76SJohn McNamara* ``--forward-mode=mode`` 353ac718398SBernard Iremonger 354e76d7a76SJohn McNamara Set the forwarding mode where ``mode`` is one of the following:: 355ac718398SBernard Iremonger 356e76d7a76SJohn McNamara io (the default) 357e76d7a76SJohn McNamara mac 358e76d7a76SJohn McNamara mac_swap 359e76d7a76SJohn McNamara flowgen 360e76d7a76SJohn McNamara rxonly 361e76d7a76SJohn McNamara txonly 362e76d7a76SJohn McNamara csum 363e76d7a76SJohn McNamara icmpecho 364e76d7a76SJohn McNamara ieee1588 3655b590fbeSJasvinder Singh tm 366e76d7a76SJohn McNamara 367e76d7a76SJohn McNamara* ``--rss-ip`` 368ac718398SBernard Iremonger 369ac718398SBernard Iremonger Set RSS functions for IPv4/IPv6 only. 370ac718398SBernard Iremonger 371e76d7a76SJohn McNamara* ``--rss-udp`` 372ac718398SBernard Iremonger 373ac718398SBernard Iremonger Set RSS functions for IPv4/IPv6 and UDP. 374ac718398SBernard Iremonger 375e76d7a76SJohn McNamara* ``--rxq=N`` 376ac718398SBernard Iremonger 377ac718398SBernard Iremonger Set the number of RX queues per port to N, where 1 <= N <= 65535. 378ac718398SBernard Iremonger The default value is 1. 379ac718398SBernard Iremonger 380e76d7a76SJohn McNamara* ``--rxd=N`` 381ac718398SBernard Iremonger 382ac718398SBernard Iremonger Set the number of descriptors in the RX rings to N, where N > 0. 383ac718398SBernard Iremonger The default value is 128. 384ac718398SBernard Iremonger 385e76d7a76SJohn McNamara* ``--txq=N`` 386ac718398SBernard Iremonger 387ac718398SBernard Iremonger Set the number of TX queues per port to N, where 1 <= N <= 65535. 388ac718398SBernard Iremonger The default value is 1. 389ac718398SBernard Iremonger 390e76d7a76SJohn McNamara* ``--txd=N`` 391ac718398SBernard Iremonger 392ac718398SBernard Iremonger Set the number of descriptors in the TX rings to N, where N > 0. 393ac718398SBernard Iremonger The default value is 512. 394ac718398SBernard Iremonger 395e76d7a76SJohn McNamara* ``--burst=N`` 396ac718398SBernard Iremonger 397ac718398SBernard Iremonger Set the number of packets per burst to N, where 1 <= N <= 512. 398ac718398SBernard Iremonger The default value is 16. 399ac718398SBernard Iremonger 400e76d7a76SJohn McNamara* ``--mbcache=N`` 401ac718398SBernard Iremonger 402ac718398SBernard Iremonger Set the cache of mbuf memory pools to N, where 0 <= N <= 512. 403ac718398SBernard Iremonger The default value is 16. 404ac718398SBernard Iremonger 405e76d7a76SJohn McNamara* ``--rxpt=N`` 406ac718398SBernard Iremonger 407ac718398SBernard Iremonger Set the prefetch threshold register of RX rings to N, where N >= 0. 408ac718398SBernard Iremonger The default value is 8. 409ac718398SBernard Iremonger 410e76d7a76SJohn McNamara* ``--rxht=N`` 411ac718398SBernard Iremonger 412ac718398SBernard Iremonger Set the host threshold register of RX rings to N, where N >= 0. 413ac718398SBernard Iremonger The default value is 8. 414ac718398SBernard Iremonger 415e76d7a76SJohn McNamara* ``--rxfreet=N`` 416ac718398SBernard Iremonger 417ac718398SBernard Iremonger Set the free threshold of RX descriptors to N, where 0 <= N < value of --rxd. 418ac718398SBernard Iremonger The default value is 0. 419ac718398SBernard Iremonger 420e76d7a76SJohn McNamara* ``--rxwt=N`` 421ac718398SBernard Iremonger 422ac718398SBernard Iremonger Set the write-back threshold register of RX rings to N, where N >= 0. 423ac718398SBernard Iremonger The default value is 4. 424ac718398SBernard Iremonger 425e76d7a76SJohn McNamara* ``--txpt=N`` 426ac718398SBernard Iremonger 427ac718398SBernard Iremonger Set the prefetch threshold register of TX rings to N, where N >= 0. 428ac718398SBernard Iremonger The default value is 36. 429ac718398SBernard Iremonger 430e76d7a76SJohn McNamara* ``--txht=N`` 431ac718398SBernard Iremonger 432ac718398SBernard Iremonger Set the host threshold register of TX rings to N, where N >= 0. 433ac718398SBernard Iremonger The default value is 0. 434ac718398SBernard Iremonger 435e76d7a76SJohn McNamara* ``--txwt=N`` 436ac718398SBernard Iremonger 437ac718398SBernard Iremonger Set the write-back threshold register of TX rings to N, where N >= 0. 438ac718398SBernard Iremonger The default value is 0. 439ac718398SBernard Iremonger 440e76d7a76SJohn McNamara* ``--txfreet=N`` 441ac718398SBernard Iremonger 442e76d7a76SJohn McNamara Set the transmit free threshold of TX rings to N, where 0 <= N <= value of ``--txd``. 443ac718398SBernard Iremonger The default value is 0. 444ac718398SBernard Iremonger 445e76d7a76SJohn McNamara* ``--txrst=N`` 446ac718398SBernard Iremonger 447e76d7a76SJohn McNamara Set the transmit RS bit threshold of TX rings to N, where 0 <= N <= value of ``--txd``. 448ac718398SBernard Iremonger The default value is 0. 449ac718398SBernard Iremonger 450e76d7a76SJohn McNamara* ``--txqflags=0xXXXXXXXX`` 451ac718398SBernard Iremonger 452ac718398SBernard Iremonger Set the hexadecimal bitmask of TX queue flags, where 0 <= N <= 0x7FFFFFFF. 453ac718398SBernard Iremonger The default value is 0. 454ac718398SBernard Iremonger 455e76d7a76SJohn McNamara .. note:: 456be2d7a05SPablo de Lara 457e76d7a76SJohn McNamara When using hardware offload functions such as vlan or checksum 458e76d7a76SJohn McNamara add ``txqflags=0`` to force the full-featured TX code path. 459e76d7a76SJohn McNamara In some PMDs this may already be the default. 460be2d7a05SPablo de Lara 461e76d7a76SJohn McNamara 462e76d7a76SJohn McNamara* ``--rx-queue-stats-mapping=(port,queue,mapping)[,(port,queue,mapping)]`` 463ac718398SBernard Iremonger 464ac718398SBernard Iremonger Set the RX queues statistics counters mapping 0 <= mapping <= 15. 465ac718398SBernard Iremonger 466e76d7a76SJohn McNamara* ``--tx-queue-stats-mapping=(port,queue,mapping)[,(port,queue,mapping)]`` 467ac718398SBernard Iremonger 468ac718398SBernard Iremonger Set the TX queues statistics counters mapping 0 <= mapping <= 15. 469ac718398SBernard Iremonger 470e76d7a76SJohn McNamara* ``--no-flush-rx`` 471ac718398SBernard Iremonger 472e76d7a76SJohn McNamara Don't flush the RX streams before starting forwarding. Used mainly with the PCAP PMD. 473ac718398SBernard Iremonger 474e76d7a76SJohn McNamara* ``--txpkts=X[,Y]`` 475ac718398SBernard Iremonger 4762ebacaa7SMaciej Czekaj Set TX segment sizes or total packet length. Valid for ``tx-only`` 4772ebacaa7SMaciej Czekaj and ``flowgen`` forwarding modes. 478ac718398SBernard Iremonger 479e76d7a76SJohn McNamara* ``--disable-link-check`` 480ac718398SBernard Iremonger 481ac718398SBernard Iremonger Disable check on link status when starting/stopping ports. 482b8628a0eSGaetan Rivet 483b8628a0eSGaetan Rivet* ``--no-lsc-interrupt`` 484b8628a0eSGaetan Rivet 485b8628a0eSGaetan Rivet Disable LSC interrupts for all ports, even those supporting it. 486b8628a0eSGaetan Rivet 487b8628a0eSGaetan Rivet* ``--no-rmv-interrupt`` 488b8628a0eSGaetan Rivet 489b8628a0eSGaetan Rivet Disable RMV interrupts for all ports, even those supporting it. 490e25e6c70SRemy Horton 491e25e6c70SRemy Horton* ``--bitrate-stats=N`` 492e25e6c70SRemy Horton 493e25e6c70SRemy Horton Set the logical core N to perform bitrate calculation. 4943af72783SGaetan Rivet 495b6b63dfdSGaetan Rivet* ``--print-event <unknown|intr_lsc|queue_state|intr_reset|vf_mbox|macsec|intr_rmv|all>`` 4963af72783SGaetan Rivet 497b6b63dfdSGaetan Rivet Enable printing the occurrence of the designated event. Using all will 498b6b63dfdSGaetan Rivet enable all of them. 4993af72783SGaetan Rivet 500b6b63dfdSGaetan Rivet* ``--mask-event <unknown|intr_lsc|queue_state|intr_reset|vf_mbox|macsec|intr_rmv|all>`` 5013af72783SGaetan Rivet 502b6b63dfdSGaetan Rivet Disable printing the occurrence of the designated event. Using all will 503b6b63dfdSGaetan Rivet disable all of them. 5047ee3e944SVasily Philipov 5057ee3e944SVasily Philipov* ``--flow-isolate-all`` 5067ee3e944SVasily Philipov 5077ee3e944SVasily Philipov Providing this parameter requests flow API isolated mode on all ports at 5087ee3e944SVasily Philipov initialization time. It ensures all traffic is received through the 5097ee3e944SVasily Philipov configured flow rules only (see flow command). 5107ee3e944SVasily Philipov 5117ee3e944SVasily Philipov Ports that do not support this mode are automatically discarded. 512*fd8c20aaSShahaf Shuler 513*fd8c20aaSShahaf Shuler* ``--tx-offloads=0xXXXXXXXX`` 514*fd8c20aaSShahaf Shuler 515*fd8c20aaSShahaf Shuler Set the hexadecimal bitmask of TX queue offloads. 516*fd8c20aaSShahaf Shuler The default value is 0. 517