xref: /dpdk/meson_options.txt (revision 6a9f3f6df9ef51e30ff5bf3eea00f27ffef87a16)
1# Please keep these options sorted alphabetically.
2
3option('check_includes', type: 'boolean', value: false, description:
4       'build "chkincs" to verify each header file can compile alone')
5option('cpu_instruction_set', type: 'string', value: 'auto',
6	description: 'Set the target machine ISA (instruction set architecture). Will be set according to the platform option by default.')
7option('developer_mode', type: 'feature', description:
8       'turn on additional build checks relevant for DPDK developers')
9option('disable_apps', type: 'string', value: '', description:
10       'Comma-separated list of apps to explicitly disable.')
11option('disable_drivers', type: 'string', value: '', description:
12       'Comma-separated list of drivers to explicitly disable.')
13option('disable_libs', type: 'string', value: '', description:
14       'Comma-separated list of optional libraries to explicitly disable. [NOTE: mandatory libs cannot be disabled]')
15option('drivers_install_subdir', type: 'string', value: 'dpdk/pmds-<VERSION>', description:
16       'Subdirectory of libdir where to install PMDs. Defaults to using a versioned subdirectory.')
17option('enable_docs', type: 'boolean', value: false, description:
18       'build documentation')
19option('enable_apps', type: 'string', value: '', description:
20       'Comma-separated list of apps to build. If unspecified, build all apps.')
21option('enable_deprecated_libs', type: 'string', value: '', description:
22       'Comma-separated list of deprecated libraries to explicitly enable.')
23option('enable_drivers', type: 'string', value: '', description:
24       'Comma-separated list of drivers to build. If unspecified, build all drivers.')
25option('enable_driver_sdk', type: 'boolean', value: false, description:
26       'Install headers to build drivers.')
27option('enable_kmods', type: 'boolean', value: true, description:
28       '[Deprecated - will be removed in future release] build kernel modules')
29option('enable_libs', type: 'string', value: '', description:
30       'Comma-separated list of optional libraries to explicitly enable. [NOTE: mandatory libs are always enabled]')
31option('examples', type: 'string', value: '', description:
32       'Comma-separated list of examples to build by default')
33option('ibverbs_link', type: 'combo', choices : ['static', 'shared', 'dlopen'], value: 'shared', description:
34       'Linkage method (static/shared/dlopen) for NVIDIA PMDs with ibverbs dependencies.')
35option('include_subdir_arch', type: 'string', value: '', description:
36       'subdirectory where to install arch-dependent headers')
37option('kernel_dir', type: 'string', value: '', description:
38       'Path to the kernel for building kernel modules. Headers must be in $kernel_dir or $kernel_dir/build. Modules will be installed in /lib/modules.')
39option('machine', type: 'string', value: 'auto', description:
40       'Alias of cpu_instruction_set.')
41option('max_ethports', type: 'integer', value: 32, description:
42       'maximum number of Ethernet devices')
43option('max_lcores', type: 'string', value: 'default', description:
44       'Set maximum number of cores/threads supported by EAL; "default" is different per-arch, "detect" detects the number of cores on the build machine.')
45option('max_numa_nodes', type: 'string', value: 'default', description:
46       'Set the highest NUMA node supported by EAL; "default" is different per-arch, "detect" detects the highest NUMA node on the build machine.')
47option('enable_iova_as_pa', type: 'boolean', value: true, description:
48       'Support the use of physical addresses for IO addresses, such as used by UIO or VFIO in no-IOMMU mode. When disabled, DPDK can only run with IOMMU support for address mappings, but will have more space available in the mbuf structure.')
49option('mbuf_refcnt_atomic', type: 'boolean', value: true, description:
50       'Atomically access the mbuf refcnt.')
51option('platform', type: 'string', value: 'native', description:
52       'Platform to build, either "native", "generic" or a SoC. Please refer to the Linux build guide for more information.')
53option('pkt_mbuf_headroom', type: 'integer', value: 128, description:
54       'Default data offset (in bytes) in a packet buffer to leave room for additional headers.')
55option('enable_stdatomic', type: 'boolean', value: false, description:
56       'enable use of C11 stdatomic')
57option('enable_trace_fp', type: 'boolean', value: false, description:
58       'enable fast path trace points.')
59option('tests', type: 'boolean', value: true, description:
60       'build unit tests')
61option('use_hpet', type: 'boolean', value: false, description:
62       'use HPET timer in EAL')
63