git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd25fb0
)
devargs: use a comma to separate key/values for bsd
author
Olivier Matz
<olivier.matz@6wind.com>
Fri, 25 Apr 2014 11:59:42 +0000
(13:59 +0200)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Tue, 29 Apr 2014 23:31:08 +0000
(
01:31
+0200)
The bsdapp part was missing in commit
a8b97e3a1db0a9366d58811411b904e4fef8160f
.
This commit changes the API of --use-device command line argument.
It changes the separators from ';' to ','.
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
lib/librte_eal/bsdapp/eal/eal.c
patch
|
blob
|
history
diff --git
a/lib/librte_eal/bsdapp/eal/eal.c
b/lib/librte_eal/bsdapp/eal/eal.c
index
ddfb026
..
adb9e6e
100644
(file)
--- a/
lib/librte_eal/bsdapp/eal/eal.c
+++ b/
lib/librte_eal/bsdapp/eal/eal.c
@@
-494,7
+494,7
@@
eal_parse_use_device(const char *optarg)
return -1;
/* remove arguments in 'dup' string */
- sep = strchr(dup, '
;
');
+ sep = strchr(dup, '
,
');
if (sep != NULL)
*sep = '\0';