vhost: add external message handling to the API
authorDarek Stojaczyk <dariusz.stojaczyk@intel.com>
Thu, 17 Jan 2019 15:32:26 +0000 (16:32 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Feb 2019 18:27:07 +0000 (19:27 +0100)
commit0b8572a0c101778d259b822bc39008d8298df4dc
tree4d797d436971d29de2783629f6099dd1706d6442
parente17697abd31251be4257d71cfadbf0e847b93bb1
vhost: add external message handling to the API

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@intel.com>
Reviewed-by: Tiwei Bie <tiwei.bie@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
lib/librte_vhost/rte_vhost.h
lib/librte_vhost/rte_vhost_version.map
lib/librte_vhost/vhost.c
lib/librte_vhost/vhost.h
lib/librte_vhost/vhost_crypto.c
lib/librte_vhost/vhost_user.c