-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable RTE RDSEED option by default
- Loading branch information
Showing
1 changed file
with
21 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,35 @@ | ||
diff --git a/config/x86/meson.build b/config/x86/meson.build | ||
index adc857b..d2ed053 100644 | ||
--- a/config/x86/meson.build | ||
+++ b/config/x86/meson.build | ||
@@ -28,7 +28,7 @@ endforeach | ||
|
||
optional_flags = ['AES', 'PCLMUL', | ||
'AVX', 'AVX2', 'AVX512F', | ||
- 'RDRND', 'RDSEED'] | ||
+ 'RDRND'] | ||
foreach f:optional_flags | ||
if cc.get_define('__@0@__'.format(f), args: machine_args) == '1' | ||
if f == 'PCLMUL' # special case flags with different defines | ||
diff --git a/meson_options.txt b/meson_options.txt | ||
index 9bf18ab..45720ab 100644 | ||
--- a/meson_options.txt | ||
+++ b/meson_options.txt | ||
@@ -22,13 +22,13 @@ option('kernel_dir', type: 'string', value: '', | ||
description: 'Path to the kernel for building kernel modules. Headers must be in $kernel_dir/build. Modules will be installed in $DEST_DIR/$kernel_dir/extra/dpdk.') | ||
description: 'Path to the kernel for building kernel modules. Headers must be in $kernel_dir/build. Modules will be installed in $DEST_DIR/$kernel_dir/extra/dpdk.') | ||
option('lib_musdk_dir', type: 'string', value: '', | ||
description: 'path to the MUSDK library installation directory') | ||
description: 'path to the MUSDK library installation directory') | ||
-option('machine', type: 'string', value: 'native', | ||
+option('machine', type: 'string', value: 'generic', | ||
description: 'set the target machine type') | ||
description: 'set the target machine type') | ||
option('max_ethports', type: 'integer', value: 32, | ||
description: 'maximum number of Ethernet devices') | ||
description: 'maximum number of Ethernet devices') | ||
-option('max_lcores', type: 'integer', value: 128, | ||
+option('max_lcores', type: 'integer', value: 256, | ||
description: 'maximum number of cores/threads supported by EAL') | ||
description: 'maximum number of cores/threads supported by EAL') | ||
-option('max_numa_nodes', type: 'integer', value: 4, | ||
+option('max_numa_nodes', type: 'integer', value: 8, | ||
description: 'maximum number of NUMA nodes supported by EAL') | ||
description: 'maximum number of NUMA nodes supported by EAL') | ||
option('enable_trace_fp', type: 'boolean', value: false, | ||
description: 'enable fast path trace points.') | ||
description: 'enable fast path trace points.') | ||
|