search for: virtio_queue_err

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

2017 Feb 15
3
[PATCH net-next] virito-net: set queues after reset during xdp_set
...GUEST_TSO4) || @@ -1813,24 +1813,24 @@ static int virtnet_xdp_set(struct net_device *dev, struct bpf_prog *prog) return PTR_ERR(prog); } - err = _virtnet_set_queues(vi, curr_qp + xdp_qp); - if (err) { - dev_warn(&dev->dev, "XDP Device queue allocation failure.\n"); - goto virtio_queue_err; - } - - oxdp_qp = vi->xdp_queue_pairs; - /* Changing the headroom in buffers is a disruptive operation because * existing buffers must be flushed and reallocated. This will happen * when a xdp program is initially added or xdp is disabled by removing * the xdp program resulting in nu...
2017 Feb 15
3
[PATCH net-next] virito-net: set queues after reset during xdp_set
...GUEST_TSO4) || @@ -1813,24 +1813,24 @@ static int virtnet_xdp_set(struct net_device *dev, struct bpf_prog *prog) return PTR_ERR(prog); } - err = _virtnet_set_queues(vi, curr_qp + xdp_qp); - if (err) { - dev_warn(&dev->dev, "XDP Device queue allocation failure.\n"); - goto virtio_queue_err; - } - - oxdp_qp = vi->xdp_queue_pairs; - /* Changing the headroom in buffers is a disruptive operation because * existing buffers must be flushed and reallocated. This will happen * when a xdp program is initially added or xdp is disabled by removing * the xdp program resulting in nu...
2017 Feb 17
0
[PATCH net-next] virito-net: set queues after reset during xdp_set
...@@ static int virtnet_xdp_set(struct net_device *dev, struct bpf_prog *prog) > return PTR_ERR(prog); > } > > - err = _virtnet_set_queues(vi, curr_qp + xdp_qp); > - if (err) { > - dev_warn(&dev->dev, "XDP Device queue allocation failure.\n"); > - goto virtio_queue_err; > - } > - > - oxdp_qp = vi->xdp_queue_pairs; > - > /* Changing the headroom in buffers is a disruptive operation because > * existing buffers must be flushed and reallocated. This will happen > * when a xdp program is initially added or xdp is disabled by removing &...