Skip to content

Commit

Permalink
Disable RTE RDSEED option by default
Browse files Browse the repository at this point in the history
  • Loading branch information
benixon committed Feb 15, 2023
1 parent ada9934 commit 59cad95
Showing 1 changed file with 21 additions and 7 deletions.
28 changes: 21 additions & 7 deletions target/oss/patches/dpdk/update_config.diff
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.')

0 comments on commit 59cad95

Please sign in to comment.