[dpdk-dev] [PATCH] qede: fix build with gcc >= 6.0

2016-05-14 Thread Rasesh Mody
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, May 13, 2016 8:38 AM > > 2016-05-10 13:01, Panu Matilainen: > > With gcc >= 6.0, qede base driver fails to build with: > > drivers/net/qede/base/ecore_cxt.c: In function 'ecore_cdu_init_common': > > cc1: error: left shif

[dpdk-dev] possible kni bug and proposed fix

2016-05-14 Thread ALeX Wang
Hi, When using the kni module to test my application inside debian (virtualbox) VM (kernel version 4.4), I get the "KNI: Out of memory" from syslog every time I `tcpreply` packets through the kni interface. After checking source code, I saw that when I call 'rte_kni_rx_burst()', no matter how m

[dpdk-dev] [PATCH 1/2] rte_kni: Fix documentation.

2016-05-14 Thread Alex Wang
From: Alex Wang The 'mbufs' alloc/free descriptions for 'rte_kni_tx_burst()' and 'rte_kni_rx_burst()' should be inverted. Signed-off-by: Alex Wang --- lib/librte_kni/rte_kni.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/librte_kni/rte_kni.h b/lib/librte_kni/

[dpdk-dev] [PATCH 2/2] rte_kni: Add documentation for the mempool capacity.

2016-05-14 Thread Alex Wang
From: Alex Wang Function like 'rte_kni_rx_burst()' keeps allocating 'MAX_MBUF_BURST_NUM' mbufs to kni fifo queue unless the queue's capacity ('KNI_FIFO_COUNT_MAX') is reached. So, if the mempool is under-provisioned, user may run into "Out of Memory" logs from KNI code. This commit documents th