[dpdk-dev] [PATCH] add one option memory-only for those secondary PRBs

2014-12-02 Thread chixiaobo
--- lib/librte_eal/common/eal_common_options.c | 18 +++- lib/librte_eal/common/eal_internal_cfg.h | 1 + lib/librte_eal/common/eal_options.h| 4 +- lib/librte_eal/linuxapp/eal/eal.c | 137 +++-- 4 files changed, 89 insertions(+), 71 deletions(-) mo

[dpdk-dev] [PATCH v2] add one option memory-only for secondary processes

2014-12-03 Thread chixiaobo
From: Chi Xiaobo Problem: There is one normal DPDK processes deployment scenarios: one primary process and several (even hundreds) secondary processes; all outside packets/messages are sent/received by primary process and then distribute them to those secondary processes by DPDK's ring/sharedm

[dpdk-dev] [PATCH] set eventfd_link_misc.minor=MISC_DYNAMIC_MINOR

2015-08-04 Thread chixiaobo
assign one minor devide number while loading. Signed-off-by: chixiaobo --- lib/librte_vhost/eventfd_link/eventfd_link.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_vhost/eventfd_link/eventfd_link.c b/lib/librte_vhost/eventfd_link/eventfd_link.c index 62c45c8..b023cdf 100644

[dpdk-dev] [PATCH] set eventfd_link_misc.minor=MISC_DYNAMIC_MINOR

2015-08-04 Thread chixiaobo
assign one minor devide number while loading. Signed-off-by: chixiaobo --- lib/librte_vhost/eventfd_link/eventfd_link.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_vhost/eventfd_link/eventfd_link.c b/lib/librte_vhost/eventfd_link/eventfd_link.c index 62c45c8..b023cdf 100644

[dpdk-dev] [PATCH] array malloced by backtrace_symbols() should be freed by the caller

2015-08-04 Thread chixiaobo
pointers need not and should not be freed. Signed-off-by: chixiaobo --- lib/librte_eal/bsdapp/eal/eal_debug.c | 3 +++ lib/librte_eal/linuxapp/eal/eal_debug.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/lib/librte_eal/bsdapp/eal/eal_debug.c b/lib/librte_eal/bsdapp/eal/eal_debug.c

[dpdk-dev] [dpdk_dev][PATCH] array malloced by backtrace_symbols() should be freed by the caller

2015-08-04 Thread chixiaobo
pointers need not and should not be freed. Signed-off-by: chixiaobo --- lib/librte_eal/bsdapp/eal/eal_debug.c | 3 +++ lib/librte_eal/linuxapp/eal/eal_debug.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/lib/librte_eal/bsdapp/eal/eal_debug.c b/lib/librte_eal/bsdapp/eal/eal_debug.c