[dpdk-dev] [PATCH v5 4/5] vhost: adapt vhost lib for selective datapath
Maxime Coquelin
maxime.coquelin at redhat.com
Tue Apr 3 10:05:49 CEST 2018
On 04/02/2018 01:46 PM, Zhihong Wang wrote:
> This patch adapts vhost lib for selective datapath by calling device ops
> at the corresponding stage.
>
> Signed-off-by: Zhihong Wang<zhihong.wang at intel.com>
> ---
> Changes in v5:
>
> 1. Improve sanity check.
>
> ---
> Changes in v4:
>
> 1. Remove the "engine" concept in the lib.
>
> ---
> Changes in v2:
>
> 1. Ensure negotiated capabilities are supported in vhost-user lib.
>
> 2. Configure the data path at the right time.
>
> lib/librte_vhost/rte_vhost.h | 27 ++++++++
> lib/librte_vhost/rte_vhost_version.map | 2 +
> lib/librte_vhost/socket.c | 113 +++++++++++++++++++++++++++++++--
> lib/librte_vhost/vhost.c | 6 ++
> lib/librte_vhost/vhost.h | 2 +
> lib/librte_vhost/vhost_user.c | 70 ++++++++++++++++++--
> 6 files changed, 211 insertions(+), 9 deletions(-)
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Thanks,
Maxime
More information about the dev
mailing list