numam-dpdk/examples
Jiayu Hu 1b7b24389c vhost: enhance async enqueue for small packets
Async enqueue offloads large copies to DMA devices, and small copies
are still performed by the CPU. However, it requires users to get
enqueue completed packets by rte_vhost_poll_enqueue_completed(), even
if they are completed by the CPU when rte_vhost_submit_enqueue_burst()
returns. This design incurs extra overheads of tracking completed
pktmbufs and function calls, thus degrading performance on small packets.

This patch enhances async enqueue for small packets by enabling
rte_vhost_submit_enqueue_burst() to return completed packets.

Signed-off-by: Jiayu Hu <jiayu.hu@intel.com>
Tested-by: Yinan Wang <yinan.wang@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2021-01-13 18:51:58 +01:00
..
bbdev_app examples/bbdev: switch to dynamic mbuf field 2020-10-31 16:13:11 +01:00
bond examples: enclose DPDK includes with angle brackets 2020-10-31 16:13:10 +01:00
bpf examples: remove old build system references 2020-09-07 23:51:57 +02:00
cmdline examples: restore trace point 2020-11-15 15:35:11 +01:00
distributor examples: restore trace point 2020-11-15 15:35:11 +01:00
ethtool examples: restore trace point 2020-11-15 15:35:11 +01:00
eventdev_pipeline examples: restore trace point 2020-11-15 15:35:11 +01:00
fips_validation examples/fips_validation: fix build with pkg-config 2020-11-15 15:29:19 +01:00
flow_classify eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
flow_filtering examples: restore trace point 2020-11-15 15:35:11 +01:00
helloworld examples: restore trace point 2020-11-15 15:35:11 +01:00
ioat examples: restore trace point 2020-11-15 15:35:11 +01:00
ip_fragmentation eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
ip_pipeline examples: stop processing meson file if build impossible 2020-11-12 19:33:36 +01:00
ip_reassembly examples: restore trace point 2020-11-15 15:35:11 +01:00
ipsec-secgw eal: replace blacklist/whitelist options 2020-11-16 00:11:22 +01:00
ipv4_multicast examples: restore trace point 2020-11-15 15:35:11 +01:00
kni examples/kni: fix build with pkg-config 2020-11-15 15:29:23 +01:00
l2fwd eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
l2fwd-cat examples: restore trace point 2020-11-15 15:35:11 +01:00
l2fwd-crypto examples/l2fwd-crypto: fix build with pkg-config 2020-11-15 15:29:24 +01:00
l2fwd-event examples: restore trace point 2020-11-15 15:35:11 +01:00
l2fwd-jobstats examples: restore trace point 2020-11-15 15:35:11 +01:00
l2fwd-keepalive examples: restore trace point 2020-11-15 15:35:11 +01:00
l3fwd eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
l3fwd-acl examples: restore trace point 2020-11-15 15:35:11 +01:00
l3fwd-graph examples/l3fwd-graph: fix pkg-config usage 2020-11-15 15:29:34 +01:00
l3fwd-power examples/l3fwd-power: check packet types after start 2020-11-22 18:27:08 +01:00
link_status_interrupt examples: restore trace point 2020-11-15 15:35:11 +01:00
multi_process examples/multi_process: add SPDX license tag to makefiles 2020-11-20 17:32:23 +01:00
ntb examples/ntb: fix clean target 2020-11-15 15:30:21 +01:00
packet_ordering examples: restore trace point 2020-11-15 15:35:11 +01:00
performance-thread examples/performance-thread: fix build with pkg-config 2020-11-15 15:31:15 +01:00
pipeline examples: stop processing meson file if build impossible 2020-11-12 19:33:36 +01:00
ptpclient examples: restore trace point 2020-11-15 15:35:11 +01:00
qos_meter eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
qos_sched examples/qos_sched: fix subport configuration 2020-11-20 12:50:41 +01:00
rxtx_callbacks examples/rxtx_callbacks: fix build with pkg-config 2020-11-15 15:34:50 +01:00
server_node_efd examples: restore trace point 2020-11-15 15:35:11 +01:00
service_cores examples: restore trace point 2020-11-15 15:35:11 +01:00
skeleton examples: restore trace point 2020-11-15 15:35:11 +01:00
timer examples: restore trace point 2020-11-15 15:35:11 +01:00
vdpa examples: stop processing meson file if build impossible 2020-11-12 19:33:36 +01:00
vhost vhost: enhance async enqueue for small packets 2021-01-13 18:51:58 +01:00
vhost_blk examples/vhost_blk: replace SMP barrier with thread fence 2021-01-08 18:07:55 +01:00
vhost_crypto examples/vhost_crypto: add new line character in usage 2020-11-13 19:43:25 +01:00
vm_power_manager examples: restore trace point 2020-11-15 15:35:11 +01:00
vmdq examples: restore trace point 2020-11-15 15:35:11 +01:00
vmdq_dcb examples: restore trace point 2020-11-15 15:35:11 +01:00
meson.build build: fix linker flags on Windows 2021-01-13 22:13:37 +01:00