mbox

[v3,0/2] examples/vhost: sample code refactor

Message ID 20201224084918.10345-1-Cheng1.jiang@intel.com (mailing list archive)
Headers

Message

Jiang, Cheng1 Dec. 24, 2020, 8:49 a.m. UTC
  Refactor the vhost sample code. Add ioat ring space count and check
in ioat callback, optimize vhost data path for batch enqueue, replase
rte_atomicNN_xxx to atomic_XXX and refactor vhost async data path.
---
v3:
 * added some variable initiation
 * cleaned some codes

v2:
 * optimized patch structure
 * optimized git log
 * replased rte_atomicNN_xxx to atomic_XXX

Cheng Jiang (2):
  examples/vhost: add ioat ring space count and check
  examples/vhost: refactor vhost data path

 examples/vhost/ioat.c |  15 ++--
 examples/vhost/main.c | 168 ++++++++++++++++++++++++++++++------------
 examples/vhost/main.h |   7 +-
 3 files changed, 130 insertions(+), 60 deletions(-)

--
2.29.2