On Tue, Sep 17, 2019 at 10:52:33PM +0800, JinYu wrote: > add all the added experimental APIs which are in > the rte_vhost.h to the rte_vhost_version.map
Symbols should be added to the .map file in the same patch which introduces them. Otherwise that patch will break the build. Thanks, Tiwei > > Signed-off-by: Lin Li <lili...@baidu.com> > Signed-off-by: Xun Ni <ni...@baidu.com> > Signed-off-by: Yu Zhang <zhangy...@baidu.com> > Signed-off-by: Jin Yu <jin...@intel.com> > --- > lib/librte_vhost/rte_vhost_version.map | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/lib/librte_vhost/rte_vhost_version.map > b/lib/librte_vhost/rte_vhost_version.map > index 5f1d4a75c..c8e14055b 100644 > --- a/lib/librte_vhost/rte_vhost_version.map > +++ b/lib/librte_vhost/rte_vhost_version.map > @@ -87,4 +87,13 @@ EXPERIMENTAL { > rte_vdpa_relay_vring_used; > rte_vhost_extern_callback_register; > rte_vhost_driver_set_protocol_features; > + rte_vhost_vq_is_packed; > + rte_vhost_get_vhost_ring_inflight; > + rte_vhost_get_vring_base_from_inflight; > + rte_vhost_set_inflight_desc_split; > + rte_vhost_set_inflight_desc_packed; > + rte_vhost_set_last_inflight_io_split; > + rte_vhost_set_last_inflight_io_packed; > + rte_vhost_clr_inflight_desc_split; > + rte_vhost_clr_inflight_desc_packed; > }; > -- > 2.17.2 >