Go to file
Gowrishankar Muthukrishnan 49da4e82cf kni: allocate no more mbuf than empty slots in queue
In kni_allocate_mbufs(), we attempt to add max_burst (32) count of mbuf
always into alloc_q, which is excessively leading too many rte_pktmbuf_
free() when alloc_q is contending at high packet rate (for eg 10Gig data).
In a situation when alloc_q fifo can only accommodate very few (or zero)
mbuf, create only what needed and add in fifo.

With this patch, we could stop random network stall in KNI at higher packet
rate (eg 1G or 10G data between vEth0 and PMD) sufficiently exhausting
alloc_q on above condition. I tested i40e PMD for this purpose in ppc64le.

Signed-off-by: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
2017-07-01 12:54:51 +02:00
app app/crypto-perf: fix error message 2017-06-28 19:59:22 +02:00
buildtools mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
config config: enable vhost NUMA awareness by default 2017-06-30 18:07:50 +02:00
devtools mem: balanced allocation of hugepages 2017-06-30 17:54:32 +02:00
doc crypto/scheduler: remove deprecated functions 2017-06-28 21:51:51 +02:00
drivers crypto/scheduler: remove deprecated functions 2017-06-28 21:51:51 +02:00
examples examples/l2fwd-crypto: fix auth info display 2017-06-28 19:59:22 +02:00
lib kni: allocate no more mbuf than empty slots in queue 2017-07-01 12:54:51 +02:00
mk mem: balanced allocation of hugepages 2017-06-30 17:54:32 +02:00
pkg version: 17.05.0 2017-05-11 03:11:34 +02:00
test test/crypto: fix overflow 2017-06-28 20:08:38 +02:00
usertools usertools: add Cavium pkx as network device 2017-05-07 14:32:17 +02:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore devtools: add tags and cscope index generation 2017-04-30 12:57:04 +02:00
GNUmakefile mk: do not build tests by default 2017-02-28 16:04:18 +01:00
LICENSE.GPL doc: GPL/LGPL licenses 2013-07-25 14:43:06 +02:00
LICENSE.LGPL doc: fix file format (dos to unix) 2013-09-06 11:43:07 +02:00
MAINTAINERS maintainers: update for i40e 2017-06-30 15:59:34 +02:00
Makefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00
README doc: add readme file 2015-12-13 22:06:58 +01:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD license for the core libraries and
drivers. The kernel components are GPLv2 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org