vhost: get negotiated protocol features
authorKeiichi Watanabe <keiichiw@chromium.org>
Mon, 22 Mar 2021 07:22:56 +0000 (16:22 +0900)
committerChenbo Xia <chenbo.xia@intel.com>
Wed, 31 Mar 2021 06:15:14 +0000 (08:15 +0200)
commit790b1c3171110df4a70b1903a30bae90c57dec57
tree8eaa13703a67babef2586f3654723ee2f884c0dd
parentaf4844503e5daec4a4f14e703a57754793b9c3a3
vhost: get negotiated protocol features

Add rte_vhost_get_negotiated_protocol_features, which returns a set of
enabled protocol features.

Signed-off-by: Keiichi Watanabe <keiichiw@chromium.org>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
lib/librte_vhost/rte_vhost.h
lib/librte_vhost/version.map
lib/librte_vhost/vhost.c