Go to file
Changpeng Liu 830f7e7907 vhost: add non-blocking API for posting interrupt
Vhost-user library locks all VQ's access lock when processing
vring based messages, such as SET_VRING_KICK and SET_VRING_CALL,
and the data processing thread may already be started, e.g: SPDK
vhost-blk and vhost-scsi will start the data processing thread
when one vring is ready, then deadlock may happen when SPDK is
posting interrupts to VM.  Here, we add a new API which allows
caller to try again later for this case.

Bugzilla ID: 1015
Fixes: c573699830 ("vhost: fix missing virtqueue lock protection")
Cc: stable@dpdk.org

Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
2022-10-26 10:58:48 +02:00
.ci ci: combine static and shared linking build tests 2022-10-27 13:20:12 +02:00
.github/workflows ci: combine static and shared linking build tests 2022-10-27 13:20:12 +02:00
app app/testpmd: remove jumbo offload 2022-10-20 09:20:55 +02:00
buildtools buildtools: fix NUMA nodes count 2022-10-11 02:13:52 +02:00
config config/arm: add Phytium TengYun S2500 2022-10-26 17:39:24 +02:00
devtools devtools: guess checkpatch.pl path 2022-10-11 02:18:48 +02:00
doc vhost: add non-blocking API for posting interrupt 2022-10-26 10:58:48 +02:00
drivers net/virtio: add queue and port ID in some logs 2022-10-26 10:50:04 +02:00
examples examples/vhost: unconfigure DMA vChannel 2022-10-26 10:46:06 +02:00
kernel kni: use dedicated function to set MAC address 2022-06-08 19:17:21 +02:00
lib vhost: add non-blocking API for posting interrupt 2022-10-26 10:58:48 +02:00
license license: add MIT license exception for GVE driver 2022-10-27 12:36:22 +02:00
usertools usertools/pmdinfo: rewrite simpler script 2022-10-11 02:11:33 +02:00
.editorconfig devtools: clarify that lines up to 100 characters are ok 2021-11-25 11:51:24 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: add eventdev feature matrices 2021-11-26 16:29:25 +01:00
.travis.yml version: 22.11-rc0 2022-07-21 12:13:48 +02:00
ABI_VERSION version: 22.11-rc0 2022-07-21 12:13:48 +02:00
MAINTAINERS net/mana: disable driver by default 2022-10-27 10:54:53 +02:00
Makefile build: create dummy Makefile 2020-09-07 23:51:57 +02:00
meson_options.txt kni: flag deprecated status at build time 2022-10-10 17:01:59 +02:00
meson.build build: introduce deprecated libraries 2022-10-10 17:01:56 +02:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 22.11-rc1 2022-10-11 02:39:28 +02: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-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 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