search for: x_svq

Displaying 3 results from an estimated 3 matches for "x_svq".

Did you mean: x_sq
2023 Mar 06
0
[PATCH v4 01/15] vdpa net: move iova tree creation from init to start
...> int queue_pairs, r, i = 0, has_cvq = 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...
2023 Mar 06
0
[PATCH v4 12/15] vdpa: block migration if device has unsupported features
...*netdev, const char *name, > > >>>> for (i = 0; i < queue_pairs; i++) { > > >>>> ncs[i] = net_vhost_vdpa_init(peer, TYPE_VHOST_VDPA, name, > > >>>> vdpa_device_fd, i, 2, true, opts->x_svq, > > >>>> - iova_range); > > >>>> + iova_range, features); > > >>>> if (!ncs[i]) > > >>>> goto err; > > >>>>...
2023 Feb 22
0
[PATCH v2 09/13] vdpa net: block migration if the device has CVQ
...netdev, const char *name, > } > > if (has_cvq) { > + VhostVDPAState *s; > + > nc = net_vhost_vdpa_init(peer, TYPE_VHOST_VDPA, name, > vdpa_device_fd, i, 1, false, > opts->x_svq, iova_range); > if (!nc) > goto err; > + > + s = DO_UPCAST(VhostVDPAState, nc, nc); > + error_setg(&s->vhost_vdpa.dev->migration_blocker, > + "net vdpa cannot migrate with MQ feature"); > } >...