Re: [dpdk-dev] [PATCH v4 2/2] vhost: enhance async enqueue for small packets

2021-01-11 Thread Maxime Coquelin
On 1/11/21 1:16 PM, Jiayu Hu wrote: > 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

[dpdk-dev] [PATCH v4 2/2] vhost: enhance async enqueue for small packets

2021-01-10 Thread Jiayu Hu
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 in