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

Maxime Coquelin maxime.coquelin at redhat.com
Mon Jan 21 09:25:37 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(-)
> 


Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

I'll apply it however only for v19.05 because API changes should
be submitted early in the release cycle (before -rc1, -rc2 at he
latest).

Thanks!
Maxime


More information about the dev mailing list