Displaying 12 results from an estimated 12 matches for "g03f4e72817".
2019 Dec 17
9
[PATCH 1/2] virtio-balloon: initialize all vq callbacks
...VQ_DEFLATE] = "deflate";
+ callbacks[VIRTIO_BALLOON_VQ_STATS] = NULL;
names[VIRTIO_BALLOON_VQ_STATS] = NULL;
+ callbacks[VIRTIO_BALLOON_VQ_FREE_PAGE] = NULL;
names[VIRTIO_BALLOON_VQ_FREE_PAGE] = NULL;
if (virtio_has_feature(vb->vdev, VIRTIO_BALLOON_F_STATS_VQ)) {
--
2.24.1.735.g03f4e72817-goog
2019 Dec 17
9
[PATCH 1/2] virtio-balloon: initialize all vq callbacks
...VQ_DEFLATE] = "deflate";
+ callbacks[VIRTIO_BALLOON_VQ_STATS] = NULL;
names[VIRTIO_BALLOON_VQ_STATS] = NULL;
+ callbacks[VIRTIO_BALLOON_VQ_FREE_PAGE] = NULL;
names[VIRTIO_BALLOON_VQ_FREE_PAGE] = NULL;
if (virtio_has_feature(vb->vdev, VIRTIO_BALLOON_F_STATS_VQ)) {
--
2.24.1.735.g03f4e72817-goog
2020 Jan 03
4
[PATCH v2 1/2] virtio-balloon: initialize all vq callbacks
...VQ_DEFLATE] = "deflate";
+ callbacks[VIRTIO_BALLOON_VQ_STATS] = NULL;
names[VIRTIO_BALLOON_VQ_STATS] = NULL;
+ callbacks[VIRTIO_BALLOON_VQ_FREE_PAGE] = NULL;
names[VIRTIO_BALLOON_VQ_FREE_PAGE] = NULL;
if (virtio_has_feature(vb->vdev, VIRTIO_BALLOON_F_STATS_VQ)) {
--
2.24.1.735.g03f4e72817-goog
2020 Jan 03
4
[PATCH v2 1/2] virtio-balloon: initialize all vq callbacks
...VQ_DEFLATE] = "deflate";
+ callbacks[VIRTIO_BALLOON_VQ_STATS] = NULL;
names[VIRTIO_BALLOON_VQ_STATS] = NULL;
+ callbacks[VIRTIO_BALLOON_VQ_FREE_PAGE] = NULL;
names[VIRTIO_BALLOON_VQ_FREE_PAGE] = NULL;
if (virtio_has_feature(vb->vdev, VIRTIO_BALLOON_F_STATS_VQ)) {
--
2.24.1.735.g03f4e72817-goog
2019 Dec 17
0
[PATCH 2/2] virtio-pci: check name when counting MSI-X vectors
...ce *vdev, unsigned nvqs,
/* Best option: one for change interrupt, one per vq. */
nvectors = 1;
for (i = 0; i < nvqs; ++i)
- if (callbacks[i])
+ if (names[i] && callbacks[i])
++nvectors;
} else {
/* Second best: one for change, shared for all vqs. */
--
2.24.1.735.g03f4e72817-goog
2019 Dec 17
0
[PATCH 1/2] virtio-balloon: initialize all vq callbacks
...+ callbacks[VIRTIO_BALLOON_VQ_STATS] = NULL;
> names[VIRTIO_BALLOON_VQ_STATS] = NULL;
> + callbacks[VIRTIO_BALLOON_VQ_FREE_PAGE] = NULL;
> names[VIRTIO_BALLOON_VQ_FREE_PAGE] = NULL;
>
> if (virtio_has_feature(vb->vdev, VIRTIO_BALLOON_F_STATS_VQ)) {
> --
> 2.24.1.735.g03f4e72817-goog
2020 Jan 03
0
[PATCH v2 2/2] virtio-pci: check name when counting MSI-X vectors
...ce *vdev, unsigned nvqs,
/* Best option: one for change interrupt, one per vq. */
nvectors = 1;
for (i = 0; i < nvqs; ++i)
- if (callbacks[i])
+ if (names[i] && callbacks[i])
++nvectors;
} else {
/* Second best: one for change, shared for all vqs. */
--
2.24.1.735.g03f4e72817-goog
2020 Jan 05
0
[PATCH net] virtio-net: Skip set_features on non-cvq devices
...net_device *dev,
> u64 offloads;
> int err;
>
> + if (!vi->has_cvq)
> + return 0;
> +
So should this return an error then?
> if ((dev->features ^ features) & NETIF_F_LRO) {
> if (vi->xdp_queue_pairs)
> return -EBUSY;
> --
> 2.24.1.735.g03f4e72817-goog
2019 Dec 22
0
[PATCH net] virtio-net: Skip set_features on non-cvq devices
...int err;
>
> + if (!vi->has_cvq)
> + return 0;
> +
Shouldn't this return failure if the features are actually
being changed?
> if ((dev->features ^ features) & NETIF_F_LRO) {
> if (vi->xdp_queue_pairs)
> return -EBUSY;
> --
> 2.24.1.735.g03f4e72817-goog
2019 Dec 20
0
[PATCH net] virtio-net: Skip set_features on non-cvq devices
...u64 offloads;
> int err;
>
> + if (!vi->has_cvq)
> + return 0;
> +
> if ((dev->features ^ features) & NETIF_F_LRO) {
> if (vi->xdp_queue_pairs)
> return -EBUSY;
> --
> 2.24.1.735.g03f4e72817-goog
>
2019 Dec 16
4
[PATCH] virtio-balloon: request nvqs based on features
...N_VQ_FREE_PAGE] = NULL;
+ nvqs = VIRTIO_BALLOON_VQ_FREE_PAGE + 1;
}
- err = vb->vdev->config->find_vqs(vb->vdev, VIRTIO_BALLOON_VQ_MAX,
+ err = vb->vdev->config->find_vqs(vb->vdev, nvqs,
vqs, callbacks, names, NULL, NULL);
if (err)
return err;
--
2.24.1.735.g03f4e72817-goog
2019 Dec 16
4
[PATCH] virtio-balloon: request nvqs based on features
...N_VQ_FREE_PAGE] = NULL;
+ nvqs = VIRTIO_BALLOON_VQ_FREE_PAGE + 1;
}
- err = vb->vdev->config->find_vqs(vb->vdev, VIRTIO_BALLOON_VQ_MAX,
+ err = vb->vdev->config->find_vqs(vb->vdev, nvqs,
vqs, callbacks, names, NULL, NULL);
if (err)
return err;
--
2.24.1.735.g03f4e72817-goog