numam-dpdk/drivers/net/vhost
Maxime Coquelin 6d6e95cec4 net/vhost: add parameter to enable postcopy
Introduce a new postcopy-support parameter to Vhost PMD that
passes the RTE_VHOST_USER_POSTCOPY_SUPPORT flag at vhost
device register time.

Flag should only be set if application does not prefault guest
memory using, for example, mlockall() syscall.

Default value is 0, meaning that postcopy support is disabled
unless specified explicitly.

Example to enable postcopy support for a given device:

--vdev 'net_vhost0,iface=/tmp/vhost-user1,postcopy-support=1'

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2018-10-18 10:24:39 +02:00
..
Makefile drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
meson.build build: fix meson build on FreeBSD 2018-07-26 09:58:19 +02:00
rte_eth_vhost.c net/vhost: add parameter to enable postcopy 2018-10-18 10:24:39 +02:00
rte_eth_vhost.h net/vhost: update license to SPDX format 2018-04-27 15:54:56 +01:00
rte_pmd_vhost_version.map net/vhost: remove feature related APIs 2017-04-01 10:40:13 +02:00