[dpdk-dev] [PATCH] build: use integer for new max_ethports option too

luca.boccassi at gmail.com luca.boccassi at gmail.com
Fri Mar 1 16:46:51 CET 2019


From: Luca Boccassi <bluca at debian.org>

max_ethports was merged after the other patch was written:

e04ea7fcf03c ("build: use integers for numerical options")

So convert this one too like the others have already been.

Signed-off-by: Luca Boccassi <bluca at debian.org>
---
 meson_options.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson_options.txt b/meson_options.txt
index dc7346fe0..16d9f92c6 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -20,7 +20,7 @@ option('lib_musdk_dir', type: 'string', value: '',
 	description: 'path to the MUSDK library installation directory')
 option('machine', type: 'string', value: 'native',
 	description: 'set the target machine type')
-option('max_ethports', type: 'string', value: '32',
+option('max_ethports', type: 'integer', value: 32,
 	description: 'maximum number of Ethernet devices')
 option('max_lcores', type: 'integer', value: 128,
 	description: 'maximum number of cores/threads supported by EAL')
-- 
2.20.1



More information about the dev mailing list