[dpdk-dev] [PATCH] eal/linux: fix build with glibc < 2.12

2016-06-19 Thread Thomas Monjalon
The function rte_thread_setname needs glibc 2.12, otherwise it returns -1 without using any parameter. The macro RTE_SET_USED avoids an "unused parameter" warning. Fixes: 3901ed99c2f8 ("eal: fix thread naming on FreeBSD") Signed-off-by: Thomas Monjalon --- lib/librte_eal/linuxapp/eal/eal_thread

[dpdk-dev] [PATCH] fm10k: fix VF cannot receive broadcast traffic

2016-06-19 Thread Chen, Jing D
Hi, Bruce, > -Original Message- > From: Richardson, Bruce > Sent: Friday, June 17, 2016 6:19 PM > To: Wang, Xiao W > Cc: Chen, Jing D ; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] fm10k: fix VF cannot receive broadcast > traffic > > On Mon, Jun 06, 2016 at 05:00:47PM +0800, Wang Xi

[dpdk-dev] [PATCH v15 3/3] mbuf: make default mempool ops configurable at build

2016-06-19 Thread David Hunt
By default, the mempool ops used for mbuf allocations is a multi producer and multi consumer ring. We could imagine a target (maybe some network processors?) that provides an hardware-assisted pool mechanism. In this case, the default configuration for this architecture would contain a different va

[dpdk-dev] [PATCH v15 2/3] app/test: test mempool handler

2016-06-19 Thread David Hunt
Create a minimal custom mempool handler and check that it passes basic mempool autotests. Signed-off-by: Olivier Matz Signed-off-by: David Hunt Reviewed-by: Jan Viktorin Acked-by: Shreyansh Jain Acked-by: Olivier Matz --- app/test/test_mempool.c | 122

[dpdk-dev] [PATCH v15 1/3] mempool: support mempool handler operations

2016-06-19 Thread David Hunt
Until now, the objects stored in a mempool were internally stored in a ring. This patch introduces the possibility to register external handlers replacing the ring. The default behavior remains unchanged, but calling the new function rte_mempool_set_ops_byname() right after rte_mempool_create_empt

[dpdk-dev] [PATCH v15 0/3] mempool: add mempool handler feature

2016-06-19 Thread David Hunt
Here's the latest version of the Mempool Handler feature patch set. It's re-based on top of the latest head as of 19/6/2016, including Olivier's 35-part patch series on mempool re-org [1] [1] http://dpdk.org/ml/archives/dev/2016-May/039229.html v15 changes: * Changed rte_mempool_ops_get() to r

[dpdk-dev] [PATCH v14 1/3] mempool: support mempool handler operations

2016-06-19 Thread Hunt, David
On 17/6/2016 3:35 PM, Jan Viktorin wrote: > Hi David, > > still few nits... Do you like the upstreaming process? :) I hope finish this > patchset soon. The major issues seem to be OK. > > [...] > >> + >> +/** >> + * @internal Get the mempool ops struct from its index. >> + * >> + * @param ops_ind