xref: /dpdk/doc/guides/linux_gsg/linux_eal_parameters.rst (revision 487eec3401b7a1664982f39da139980a4f5b3adc)
1..  SPDX-License-Identifier: BSD-3-Clause
2    Copyright(c) 2018 Intel Corporation.
3
4EAL parameters
5==============
6
7This document contains a list of all EAL parameters. These parameters can be
8used by any DPDK application running on Linux.
9
10Common EAL parameters
11---------------------
12
13The following EAL parameters are common to all platforms supported by DPDK.
14
15.. include:: eal_args.include.rst
16
17Linux-specific EAL parameters
18-----------------------------
19
20In addition to common EAL parameters, there are also Linux-specific EAL
21parameters.
22
23Device-related options
24~~~~~~~~~~~~~~~~~~~~~~
25
26*   ``--create-uio-dev``
27
28    Create ``/dev/uioX`` files for devices bound to igb_uio kernel driver
29    (usually done by the igb_uio driver itself).
30
31*   ``--vmware-tsc-map``
32
33    Use VMware TSC map instead of native RDTSC.
34
35*   ``--no-hpet``
36
37    Do not use the HPET timer.
38
39*   ``--vfio-intr <legacy|msi|msix>``
40
41    Use specified interrupt mode for devices bound to VFIO kernel driver.
42
43Multiprocessing-related options
44~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
45
46*   ``--file-prefix <prefix name>``
47
48    Use a different shared data file prefix for a DPDK process. This option
49    allows running multiple independent DPDK primary/secondary processes under
50    different prefixes.
51
52Memory-related options
53~~~~~~~~~~~~~~~~~~~~~~
54
55*   ``--legacy-mem``
56
57    Use legacy DPDK memory allocation mode.
58
59*   ``--socket-mem <amounts of memory per socket>``
60
61    Preallocate specified amounts of memory per socket. The parameter is a
62    comma-separated list of values. For example::
63
64        --socket-mem 1024,2048
65
66    This will allocate 1 gigabyte of memory on socket 0, and 2048 megabytes of
67    memory on socket 1.
68
69*   ``--socket-limit <amounts of memory per socket>``
70
71    Place a per-socket upper limit on memory use (non-legacy memory mode only).
72    0 will disable the limit for a particular socket.
73
74*   ``--single-file-segments``
75
76    Create fewer files in hugetlbfs (non-legacy mode only).
77
78*   ``--huge-dir <path to hugetlbfs directory>``
79
80    Use specified hugetlbfs directory instead of autodetected ones.
81
82*   ``--huge-unlink``
83
84    Unlink hugepage files after creating them (implies no secondary process
85    support).
86
87*   ``--match-allocations``
88
89    Free hugepages back to system exactly as they were originally allocated.
90
91Other options
92~~~~~~~~~~~~~
93
94*   ``--syslog <syslog facility>``
95
96    Set syslog facility. Valid syslog facilities are::
97
98        auth
99        cron
100        daemon
101        ftp
102        kern
103        lpr
104        mail
105        news
106        syslog
107        user
108        uucp
109        local0
110        local1
111        local2
112        local3
113        local4
114        local5
115        local6
116        local7
117