search for: max_vectors

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

2009 Jul 23
0
qemu-kvm missing some msix capability check
...[], > - vq_callback_t *callbacks[], > - const char *names[]) > +static int vp_try_to_find_vqs(struct virtio_device *vdev, unsigned nvqs, > + struct virtqueue *vqs[], > + vq_callback_t *callbacks[], > + const char *names[], > + int max_vectors, > + int nvectors) > { > - int vectors = 0; > int i, err; > > - /* How many vectors would we like? */ > - for (i = 0; i < nvqs; ++i) > - if (callbacks[i]) > - ++vectors; > - > - err = vp_request_vectors(vdev, vectors); > + if (nvectors) > +...
2009 Jul 23
0
qemu-kvm missing some msix capability check
...[], > - vq_callback_t *callbacks[], > - const char *names[]) > +static int vp_try_to_find_vqs(struct virtio_device *vdev, unsigned nvqs, > + struct virtqueue *vqs[], > + vq_callback_t *callbacks[], > + const char *names[], > + int max_vectors, > + int nvectors) > { > - int vectors = 0; > int i, err; > > - /* How many vectors would we like? */ > - for (i = 0; i < nvqs; ++i) > - if (callbacks[i]) > - ++vectors; > - > - err = vp_request_vectors(vdev, vectors); > + if (nvectors) > +...