vhost: add a flag to enable dequeue zero copy
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Sun, 9 Oct 2016 07:27:58 +0000 (15:27 +0800)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Thu, 13 Oct 2016 08:29:20 +0000 (10:29 +0200)
commit9ba1e744ab6516c4ba593e60b56af16e443d8dbc
tree8d780c9a1445529917a854daae98c272f066651d
parentb0a985d1f340b114cef8ec324fe8fc7352bb76a6
vhost: add a flag to enable dequeue zero copy

Dequeue zero copy is disabled by default. Here add a new flag
``RTE_VHOST_USER_DEQUEUE_ZERO_COPY`` to explictily enable it.

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>
doc/guides/prog_guide/vhost_lib.rst
doc/guides/rel_notes/release_16_11.rst
lib/librte_vhost/rte_virtio_net.h
lib/librte_vhost/socket.c
lib/librte_vhost/vhost.c
lib/librte_vhost/vhost.h