[dpdk-dev] [PATCH v3 6/6] mk: prevent overlinking in applications

2016-06-11 Thread Thomas Monjalon
Hi Ferruh, 2016-06-10 19:32, Ferruh Yigit: > --- a/mk/rte.app.mk > +++ b/mk/rte.app.mk > @@ -50,6 +50,14 @@ ifeq ($(NO_LDSCRIPT),) > LDSCRIPT = $(RTE_LDSCRIPT) > endif > > +ifeq ($(CONFIG_RTE_BUILD_SHARED_LIB),y) > +# Workaround to eal <-> mempool cyclic dependency > +_LDLIBS-$(CONFIG_RTE_LIBR

[dpdk-dev] [PATCH] ip_pipeline: fix false cacheline sharing among threads

2016-06-11 Thread Jasvinder Singh
In ip_pipeline app, the structure app_thread_data needs to be aligned to the cache line boundary as threads on different cpu cores are accessing fields of the app->thread_data and having this structure not aligned on cacheline boundary leads to false cacheline sharing. Fixes: 7f64b9c004aa ("exampl

[dpdk-dev] [PATCH v4 1/2] enic: fix seg fault when releasing queues

2016-06-11 Thread John Daley
If device configuration failed due to a lack of resources, such as if more queues are requested than are available, the queue release functions are called with NULL pointers which were being dereferenced. Skip releasing queues if they are NULL pointers. Fixes: fefed3d1e62c ("enic: new driver") Si

[dpdk-dev] [PATCH v4 2/2] enic: improve out of resources error handling

2016-06-11 Thread John Daley
If configuration fails due to lack of resources, be more specific about which resources are lacking - work queues, read queues or completion queues. Return -EINVAL instead of -1 if more queeues are requested than are available. Fixes: fefed3d1e62c ("enic: new driver") Signed-off-by: John Daley --