* [spp] [PATCH] tools/sppc: fix --signle-file-segments true
@ 2019-08-21 5:43 yasufum.o
0 siblings, 0 replies; only message in thread
From: yasufum.o @ 2019-08-21 5:43 UTC (permalink / raw)
To: spp, ferruh.yigit, yasufum.o
From: Yasufumi Ogawa <yasufum.o@gmail.com>
This update is to fix a bug for which --single-file-segments option is
always activated even if it is not given.
Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
---
tools/sppc/lib/app_helper.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/sppc/lib/app_helper.py b/tools/sppc/lib/app_helper.py
index 310d9e2..6e25074 100644
--- a/tools/sppc/lib/app_helper.py
+++ b/tools/sppc/lib/app_helper.py
@@ -104,7 +104,7 @@ def setup_eal_opts(args, file_prefix, proc_type='auto', hugedir=None):
for wd in args.pci_whitelist:
eal_opts += ['-w', wd, '\\']
- if args.single_file_segments is not None:
+ if args.single_file_segments is True:
eal_opts += ['--single-file-segments', '\\']
eal_opts += [
--
2.17.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-08-21 5:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-21 5:43 [spp] [PATCH] tools/sppc: fix --signle-file-segments true yasufum.o
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).