mbox series

[v4,0/4] add support for packed ring in async vhost

Message ID 20210410102521.15806-1-Cheng1.jiang@intel.com (mailing list archive)
Headers
Series add support for packed ring in async vhost |

Message

Jiang, Cheng1 April 10, 2021, 10:25 a.m. UTC
  For now async vhost data path only supports split ring structure. In
order to make async vhost compatible with virtio 1.1 spec this patch
set cleans async split ring codes and enables packed ring in async
vhost data path. Batch datapath is also enabled in packed ring.

v4:
  * change the patch structure
  * clean code for async split ring
  * reuse some code from split ring
  * change the error handler for DMA-copy packet
  * add check for malloc
  * remove useless code
  * add doc update
v3:
  * fix error handler for DMA-copy packet
v2:
  * fix wrong buffer index in rte_vhost_poll_enqueue_completed()
  * add async_buffers_packed memory free in vhost_free_async_mem()

Cheng Jiang (4):
  vhost: abstract and reorganize async split ring code
  vhost: add support for packed ring in async vhost
  vhost: add batch datapath for async vhost packed ring
  doc: add release note for vhost async packed ring

 doc/guides/rel_notes/release_21_05.rst |   4 +
 lib/librte_vhost/rte_vhost_async.h     |   1 +
 lib/librte_vhost/vhost.c               |  27 +-
 lib/librte_vhost/vhost.h               |   7 +-
 lib/librte_vhost/virtio_net.c          | 603 ++++++++++++++++++++++---
 5 files changed, 560 insertions(+), 82 deletions(-)

--
2.29.2