Soft Patch Panel
 help / color / Atom feed
* [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, back to index

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

Soft Patch Panel

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/spp/0 spp/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 spp spp/ http://inbox.dpdk.org/spp \
		spp@dpdk.org
	public-inbox-index spp


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.spp


AGPL code for this site: git clone https://public-inbox.org/ public-inbox