Go to file
Yuanhan Liu 552e8fd3d2 vhost: simplify memory regions handling
Due to history reason (that vhost-cuse comes before vhost-user), some
fields for maintaining the vhost-user memory mappings (such as mmapped
address and size, with those we then can unmap on destroy) are kept in
"orig_region_map" struct, a structure that is defined only in vhost-user
source file.

The right way to go is to remove the structure and move all those fields
into virtio_memory_region struct. But we simply can't do that before,
because it breaks the ABI.

Now, thanks to the ABI refactoring, it's never been a blocking issue
any more. And here it goes: this patch removes orig_region_map and
redefines virtio_memory_region, to include all necessary info.

With that, we can simplify the guest/host address convert a bit.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Tested-by: Qian Xu <qian.q.xu@intel.com>
2016-10-12 09:44:56 +02:00
app app/testpmd: support 25G and 50G speeds 2016-10-13 18:09:27 +02:00
buildtools pmdinfogen: fix clang build 2016-10-04 11:50:56 +02:00
config crypto/libcrypto: add driver for OpenSSL library 2016-10-08 17:54:37 +02:00
doc doc: fix typo in pdump guide 2016-10-13 18:18:37 +02:00
drivers net/virtio: support IOMMU platform 2016-10-11 10:28:34 +02:00
examples examples/tep_term: fix inner L4 checksum 2016-10-13 14:37:48 +02:00
lib vhost: simplify memory regions handling 2016-10-12 09:44:56 +02:00
mk mk: use -march option with recent Intel processors names 2016-10-12 18:40:47 +02:00
pkg version: 16.07.0 2016-07-28 20:48:41 +02:00
scripts app/testpmd: use consistent vdev names 2016-10-13 15:55:51 +02:00
tools tools: bind crypto devices 2016-10-04 20:41:09 +02:00
.gitignore doc: generate NIC overview table from ini files 2016-08-03 18:42:17 +02:00
GNUmakefile pmdinfogen: add buildtools and pmdinfogen utility 2016-07-06 22:34:39 +02: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 net: introduce net library 2016-10-11 18:16:22 +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