[dpdk-dev] [PATCH v3] vhost: add external message handling callbacks to the public API

Maxime Coquelin maxime.coquelin at redhat.com
Fri Feb 8 19:04:18 CET 2019



On 1/17/19 4:32 PM, Darek Stojaczyk wrote:
> External message callbacks are used e.g. by vhost crypto
> to parse crypto-specific vhost-user messages.
> 
> We are now publishing the API to register those callbacks,
> so that other backends outside of DPDK can use them as well.
> 
> Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk at intel.com>
> Reviewed-by: Tiwei Bie <tiwei.bie at intel.com>
> ---
>   lib/librte_vhost/rte_vhost.h           |  69 ++++++++++++++
>   lib/librte_vhost/rte_vhost_version.map |   1 +
>   lib/librte_vhost/vhost.c               |  13 +++
>   lib/librte_vhost/vhost.h               |  54 +----------
>   lib/librte_vhost/vhost_crypto.c        |  12 +--
>   lib/librte_vhost/vhost_user.c          | 123 +++++++++++++------------
>   6 files changed, 153 insertions(+), 119 deletions(-)
> 

I fixed build issue with postcopy build flag enabled.

Applied to dpdk-next-virtio/master.

Thanks,
Maxime



More information about the dev mailing list