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.stojac...@intel.com> Reviewed-by: Tiwei Bie <tiwei....@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.coque...@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