[dpdk-dev] [PATCH] eal: parse args before any kinds of init

2014-04-18 Thread Wang Sheng-Hui
Thanks, Thomas. 2014-04-18 5:58 GMT+08:00 Thomas Monjalon : > Hi, > > 2014-04-15 11:03, Wang Sheng-Hui: > > Parse args first, to resolve any invalid args and give out the usage > string. > > E.g './helloworld --invalid', the '--invalid' will be ch

[dpdk-dev] [PATCH] eal_lcore: check /sys/devices/system/node/nodeY/cpuX as a, fallback for socket id detecting

2014-04-16 Thread Wang Sheng-Hui
-off-by: Wang Sheng-Hui --- lib/librte_eal/linuxapp/eal/eal_lcore.c | 76 + 1 file changed, 59 insertions(+), 17 deletions(-) diff --git a/lib/librte_eal/linuxapp/eal/eal_lcore.c b/lib/librte_eal/linuxapp/eal/eal_lcore.c index da20fa3..ace5cec 100644 --- a/lib

[dpdk-dev] [PATCH] eal: parse args before any kinds of init

2014-04-15 Thread Wang Sheng-Hui
Parse args first, to resolve any invalid args and give out the usage string. E.g './helloworld --invalid', the '--invalid' will be checked before any init. After the options are checked, take any init actions. Signed-off-by: Wang Sheng-Hui --- lib/librte_eal/lin

[dpdk-dev] [PATCH] eal: parse args before any kinds of init

2014-04-15 Thread Wang Sheng-Hui
Parse args first, to resolve any invalid args and give out the usage string. E.g './helloworld --invalid', the '--invalid' will be checked before any init. After the options are checked, take any init actions. Signed-off-by: Wang Sheng-Hui --- lib/librte_eal/lin

[dpdk-dev] [PATCH] eal_lcore.c: print the supported maximum lcores as configured, and detected lcores on eal cpu init

2014-04-14 Thread Wang Sheng-Hui
Print the maximum lcore(s) as configured, and the number of lcore(s) detected on eal cpu init as debug info besides the not separate detected/not-detected lcore info. Signed-off-by: Wang Sheng-Hui --- lib/librte_eal/linuxapp/eal/eal_lcore.c | 3 +++ 1 file changed, 3 insertions(+) diff --git