Go to file
Maxime Coquelin 3e0396166b vhost: support requests only handled by external backend
External backends may have specific requests to handle, and so
we don't want the vhost-user lib to handle these requests as
errors.

This patch also changes the experimental API by introducing
RTE_VHOST_MSG_RESULT_NOT_HANDLED so that vhost-user lib
can report an error if a message is handled neither by
the vhost-user library nor by the external backend.

The logic changes a bit so that if the callback returns
with ERR, OK or REPLY, it is considered the message
is handled by the external backend so it won't be
handled by the vhost-user library.
It is still possible for an external backend to listen
to requests that have to be handled by the vhost-user
library like SET_MEM_TABLE, but the callback have to
return NOT_HANDLED in that case.

Vhost-crypto backend is also adapted to this API change.

Suggested-by: Ilya Maximets <i.maximets@samsung.com>
Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Tested-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Tiwei Bie <tiwei.bie@intel.com>
2019-03-20 18:15:42 +01:00
app app/testpmd: fix a typo in log message 2019-03-20 18:15:42 +01:00
buildtools config: add static linkage of mlx dependency 2019-01-14 17:44:29 +01:00
config mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
devtools devtools: fix meson build test to exit on failure 2019-03-13 11:09:55 +01:00
doc app/testpmd: optimize MAC swap for Arm 2019-03-20 18:15:42 +01:00
drivers net/virtio: improve batching in standard Rx path 2019-03-20 18:15:42 +01:00
examples examples/ethtool: remove query of default config 2019-03-20 18:15:42 +01:00
kernel build/freebsd: rename macro BSDPAPP to FREEBSD 2019-03-12 23:01:14 +01:00
lib vhost: support requests only handled by external backend 2019-03-20 18:15:42 +01:00
license fix dpdk.org URLs 2018-11-26 20:19:24 +01:00
mk mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
usertools mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore git: ignore build directories 2019-03-13 11:57:05 +01:00
GNUmakefile test: move to app directory 2019-02-26 15:29:27 +01:00
MAINTAINERS eal/linux: rename linuxapp to linux 2019-03-12 17:31:13 +01:00
Makefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
meson_options.txt build: use integers for numerical options 2019-02-27 12:28:03 +01:00
meson.build build: bump minimum Meson version to 0.47.1 2019-02-27 12:12:27 +01:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +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-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