numam-dpdk/examples
Yuanhan Liu 00b8b70666 examples/vhost: add --dequeue-zero-copy option
Add an option, --dequeue-zero-copy, to enable dequeue zero copy.

One thing worth noting while using dequeue zero copy is the nb_tx_desc
has to be small enough so that the eth driver will hit the mbuf free
threshold easily and thus free mbuf more frequently.

The reason behind that is, when dequeue zero copy is enabled, guest Tx
used vring will be updated only when corresponding mbuf is freed. If mbuf
is not freed frequently, the guest Tx vring could be starved.

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-13 10:29:31 +02:00
..
bond remove unused ring includes 2016-09-16 10:16:02 +02:00
cmdline examples: fix whitespace 2015-06-12 11:10:10 +02:00
distributor examples/distributor: fix Rx thread logic for zero packet 2016-07-15 23:42:48 +02:00
dpdk_qat remove unused ring includes 2016-09-16 10:16:02 +02:00
ethtool ethdev: get registers width 2016-07-10 14:55:42 +02:00
exception_path remove unused ring includes 2016-09-16 10:16:02 +02:00
helloworld tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
ip_fragmentation remove unused ring includes 2016-09-16 10:16:02 +02:00
ip_pipeline examples/ip_pipeline: add configuration with TAP 2016-10-13 11:44:32 +02:00
ip_reassembly remove unused ring includes 2016-09-16 10:16:02 +02:00
ipsec-secgw examples/ipsec-secgw: initialize SA salt 2016-10-08 17:54:38 +02:00
ipv4_multicast remove unused ring includes 2016-09-16 10:16:02 +02:00
kni remove unused ring includes 2016-09-16 10:16:02 +02:00
l2fwd examples/l2fwd: add option --[no-]mac-updating 2016-10-13 14:37:48 +02:00
l2fwd-cat examples/l2fwd-cat: add sample application for PQoS CAT and CDP 2016-03-21 23:36:43 +01:00
l2fwd-crypto examples/l2fwd-crypto: update for libcrypto 2016-10-08 17:54:38 +02:00
l2fwd-jobstats remove unused ring includes 2016-09-16 10:16:02 +02:00
l2fwd-keepalive remove unused ring includes 2016-09-16 10:16:02 +02:00
l3fwd examples/l3fwd: enable 4M hash for all 64-bit archs 2016-10-13 14:37:48 +02:00
l3fwd-acl remove unused ring includes 2016-09-16 10:16:02 +02:00
l3fwd-power remove unused ring includes 2016-09-16 10:16:02 +02:00
l3fwd-vf remove unused ring includes 2016-09-16 10:16:02 +02:00
link_status_interrupt remove unused ring includes 2016-09-16 10:16:02 +02:00
load_balancer remove unused ring includes 2016-09-16 10:16:02 +02:00
multi_process remove unused ring includes 2016-09-16 10:16:02 +02:00
netmap_compat examples/netmap_compat: fix infinite loop 2016-05-16 21:01:51 +02:00
packet_ordering ivshmem: remove library and its EAL integration 2016-08-23 12:23:58 +02:00
performance-thread remove unused ring includes 2016-09-16 10:16:02 +02:00
ptpclient mk: fix link with glibc < 2.17 2016-07-25 17:54:57 +02:00
qos_meter examples/qos_meter: check flow configuration error 2016-05-16 18:49:12 +02:00
qos_sched examples/qos_sched: fix dequeue from ring 2016-10-13 14:37:48 +02:00
quota_watermark remove unused ring includes 2016-09-16 10:16:02 +02:00
rxtx_callbacks apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
skeleton apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
tep_termination examples/tep_term: fix inner L4 checksum 2016-10-13 14:37:48 +02:00
timer tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
vhost examples/vhost: add --dequeue-zero-copy option 2016-10-13 10:29:31 +02:00
vhost_xen eal: fix thread naming on FreeBSD 2016-06-17 18:04:22 +02:00
vm_power_manager examples/vm_power_manager: remove dependency on internal header 2016-07-11 17:23:32 +02:00
vmdq remove unused ring includes 2016-09-16 10:16:02 +02:00
vmdq_dcb remove unused ring includes 2016-09-16 10:16:02 +02:00
Makefile ivshmem: remove library and its EAL integration 2016-08-23 12:23:58 +02:00