vhost: add missing experimental flag
authorJim Harris <james.r.harris@intel.com>
Tue, 24 Sep 2019 09:23:34 +0000 (02:23 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:57 +0000 (15:00 +0200)
commit61af1713d3f1bebf896aeb943fc23f58ed4f0724
treea6c229104011c04668ab2a040e2cccfa6cb387b6
parentf2f4990eff941227aa346502f518acd490fb5d18
vhost: add missing experimental flag

This function is listed under EXPERIMENTAL in the
rte_vhost_version.map, so it needs to be marked
with __rte_experimental in the header file as well.

Found by check-experimental-syms.sh when trying to compile
DPDK with -finstrument-functions.  This script didn't
catch this in the normal case, since the function is
declared __rte_always_inline.

This also requires updating the vhost_scsi example to allow
use of this newly marked experimental API.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
examples/vhost_scsi/Makefile
examples/vhost_scsi/meson.build
lib/librte_vhost/rte_vhost.h