search for: vhost_vdpa_net_valid_svq_features

Displaying 2 results from an estimated 2 matches for "vhost_vdpa_net_valid_svq_features".

2023 Mar 06
0
[PATCH v4 12/15] vdpa: block migration if device has unsupported features
...svq; > > >>>> s->vhost_vdpa.iova_range = iova_range; > > >>>> s->vhost_vdpa.shadow_data = svq; > > >>>> - if (!is_datapath) { > > >>>> + if (queue_pair_index == 0) { > > >>>> + vhost_vdpa_net_valid_svq_features(features, > > >>>> + &s->vhost_vdpa.migration_blocker); > > >>> > > >>> Since we do validation at initialization, is this necessary to valid > > >>> once again in other places? > > &...
2023 Mar 06
0
[PATCH v4 01/15] vdpa net: move iova tree creation from init to start
...= 0; > > >>> @@ -812,12 +872,8 @@ int net_init_vhost_vdpa(const Netdev *netdev, const char *name, > > >>> goto err; > > >>> } > > >>> > > >>> - if (opts->x_svq) { > > >>> - if (!vhost_vdpa_net_valid_svq_features(features, errp)) { > > >>> - goto err_svq; > > >>> - } > > >>> - > > >>> - iova_tree = vhost_iova_tree_new(iova_range.first, iova_range.last); > > >>> + if (opts->x_svq && !vhost_vdpa_n...