[dpdk-dev] About "Multi-process" sample application

2013-09-12 Thread dvr
hi,all I tried to run multi-process sample application step by step according to the document of "sample_application_user_guide.pdf", but encount a problem: only the first rx_queue can receive packages, the other three rx_queue have no package at all. How could this happen? Did I need to do

[dpdk-dev] Looks like rte_mempool_free_count() and rte_mempool_count() are swapped

2013-09-12 Thread Dmitry Vyal
Greetings. I had a suspect I run into a mbuf depletion issue and decided to check using rte_mempool_free_count(). To my surprise, it returned a value equal to mempool size. I tried calling rte_mempool_count() and it returned zero. I inspected the code in dpdk-1.3.1-7 and dpdk.1.4.1-4: rte_mem

[dpdk-dev] QinQ and MPLS

2013-09-12 Thread Zhu, Heqing
Double VLAN is supported by Intel DPDK on most (if not all) Intel NIC. -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Stephen Hemminger Sent: Thursday, September 05, 2013 11:08 PM To: ?? ??? Cc: dev at dpdk.org Subject: Re: [dpdk-dev] QinQ and MPLS On Thu

[dpdk-dev] [PATCH] pci: fix closing an unopened file descriptor

2013-09-12 Thread Thomas Monjalon
04/09/2013 09:34, Tetsuya Mukawa : > If CONFIG_RTE_EAL_UNBIND_PORTS is set and virtio-net is used, an unopened > file descriptor will be illegally closed in the finalized phase of EAL. > The fix adds a correct initial value to the file descriptor, and check it > before closing it. > > Signed-off-b

[dpdk-dev] [PATCH 1/4] kni: fix build with kernel 3.8

2013-09-12 Thread Nicolas Dichtel
Le 29/07/2013 14:44, Thomas Monjalon a ?crit : > - timecompare has been removed. > (see Linux commit 65f8f9a1c1db831e5159e3e3e50912d1f214cd0c) All this code is between 'ifdef HAVE_HW_TIME_STAMP'. Maybe just deactivating it will help to port patches on this driver in the future. > > - annotations

[dpdk-dev] [PATCH 2/4] kni: fix build with kernel 3.9

2013-09-12 Thread Nicolas Dichtel
Le 29/07/2013 14:44, Thomas Monjalon a ?crit : > hlist API has changes. > See Linux commit b67bfe0d42cac56c512dd5da4b1b347a23f4b70a. > > Signed-off-by: Thomas Monjalon Acked-by: Nicolas Dichtel

[dpdk-dev] [PATCH 4/4] app: fix build with gcc 4.8

2013-09-12 Thread Nicolas Dichtel
Le 29/07/2013 14:44, Thomas Monjalon a ?crit : > GCC 4.8 was producing this error: > argument to ?sizeof? in ?strncmp? call is the same expression as the > second source; did you mean to provide an explicit length? > [-Werror=sizeof-pointer-memaccess] > > Signed-off-by: Thomas Mon

[dpdk-dev] [PATCH 3/4] kni: fix build with kernel 3.10

2013-09-12 Thread Nicolas Dichtel
Le 29/07/2013 14:44, Thomas Monjalon a ?crit : > - The flags NETIF_F_HW_VLAN_* have been renamed to NETIF_F_HW_VLAN_CTAG_*. > See Linux commit f646968f8f7c624587de729115d802372b9063dd. > > - The VLAN protocol must be specified. > See Linux commits 86a9bad3ab6b6f858fd4443b48738cabbb6d094c > and 80d5