vhost: remove zero copy memory region generation logic
authorHuawei Xie <huawei.xie@intel.com>
Wed, 8 Oct 2014 18:54:39 +0000 (02:54 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 13 Oct 2014 17:13:10 +0000 (19:13 +0200)
commit0a739691fce78ae928cb9965c10c503fd5c4ec77
tree8c78ba3e786ebfb1f46a8a202ca88eb8249477c9
parent68e649047685ae2bf6eb1d1fa55b211ed10a4e12
vhost: remove zero copy memory region generation logic

Currently zero copy feature isn't generic as it couples closely with nic.
It isn't put in the vhost lib in this version.
gpa(guest physical address) to hpa(host physical address) mapping region
logic is removed.

Signed-off-by: Huawei Xie <huawei.xie@intel.com>
Acked-by: Changchun Ouyang <changchun.ouyang@intel.com>
lib/librte_vhost/rte_virtio_net.h
lib/librte_vhost/virtio-net.c