[dpdk-dev] [PATCH v4 0/2] examples/vhost: sample code refactor
Cheng Jiang
Cheng1.jiang at intel.com
Fri Dec 25 09:07:10 CET 2020
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.
---
v4:
* improved code structure
* improved vhost enqueue buffer memory allocation
* cleaned some codes
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 | 202 +++++++++++++++++++++++++++++++-----------
examples/vhost/main.h | 7 +-
3 files changed, 161 insertions(+), 63 deletions(-)
--
2.29.2
More information about the dev
mailing list