[dpdk-dev] [PATCH v2 0/2] vhost: introduce rte_vhost_vring_call()
Maxime Coquelin
maxime.coquelin at redhat.com
Tue Jan 2 11:27:02 CET 2018
Hi Stefan,
On 01/02/2018 10:31 AM, Stefan Hajnoczi wrote:
> v2:
> * Add internal vhost_vring_call() helper function [Maxime]
>
> These patches eliminate code duplication for vhost_virtqueue->callfd users by
> introducing rte_vhost_vring_call() (public API) and vhost_vring_call()
> (librte_vhost-internal API).
>
> Stefan Hajnoczi (2):
> vhost: add vhost_vring_call() helper
> vhost: introduce rte_vhost_vring_call()
>
> lib/librte_vhost/rte_vhost.h | 15 +++++++++++++++
> lib/librte_vhost/vhost.h | 12 ++++++++++++
> examples/vhost/virtio_net.c | 11 ++---------
> examples/vhost_scsi/vhost_scsi.c | 6 +++---
> lib/librte_vhost/vhost.c | 21 +++++++++++++++++++++
> lib/librte_vhost/virtio_net.c | 23 +++--------------------
> lib/librte_vhost/rte_vhost_version.map | 7 +++++++
> 7 files changed, 63 insertions(+), 32 deletions(-)
>
I just wonder whether tagging the new API as experimental is needed,
but apart from that it looks good to me:
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Thanks!
Maxime
More information about the dev
mailing list