Go to file
Maxime Coquelin 1aadb2f6b1 vhost: fix deadlock on IOTLB miss
An optimization was done to only take the iotlb cache lock
once per packet burst instead of once per IOVA translation.

With this, IOTLB miss requests are sent to Qemu with the lock
held, which can cause a deadlock if the socket buffer is full,
and if Qemu is waiting for an IOTLB update to be done.

Holding the lock is not necessary when sending an IOTLB miss
request, as it is not manipulating the IOTLB cache list, which
the lock protects. Let's just release it while sending the
IOTLB miss.

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Jens Freimann <jfreimann@redhat.com>
2017-10-13 22:08:21 +02:00
app app: fix port id type 2017-10-13 21:57:48 +02:00
buildtools buildtools: zero elf info variable in pmdinfogen 2017-09-14 14:20:41 +02:00
config config: remove unused mrvl debug option 2017-10-13 01:17:36 +01:00
devtools crypto/mrvl: add mrvl crypto driver 2017-10-12 15:22:39 +01:00
doc doc: update port id type 2017-10-13 21:57:49 +02:00
drivers net/mrvl: fix port id type 2017-10-13 21:57:48 +02:00
examples examples: fix port id type 2017-10-13 21:57:49 +02:00
lib vhost: fix deadlock on IOTLB miss 2017-10-13 22:08:21 +02:00
mk eal/x86: select optimized memcpy at run-time 2017-10-13 15:20:50 +02:00
pkg eal: remove Xen dom0 support 2017-10-09 01:54:29 +02:00
test test: fix port id type 2017-10-13 21:57:48 +02:00
usertools update Cavium Inc copyright headers 2017-07-08 17:43:49 +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 test: verify bitmap operations 2017-10-12 22:31:33 +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