vqi->name, vqi->ctx, ccw);
> if (IS_ERR(vqs[i])) {
> ret = PTR_ERR(vqs[i]);
Acked-by: Halil Pasic #s390
now, we fail if we can't get the requested size. */
> dev_warn(&vcdev->cdev->dev, "no vq\n");
For the virtio-ccw part:
Acked-by: Halil Pasic
gt; - names[i], ctx ? ctx[i] : false,
> - ccw);
> + vqs[i] = virtio_ccw_setup_vq(vdev, i, ccw, cfg);
> if (IS_ERR(vqs[i])) {
> ret = PTR_ERR(vqs[i]);
> vqs[i] = NULL;
For the virtio-ccw part:
Acked-by: Halil Pasic
}
>
> - vqs[i] = virtio_ccw_setup_vq(vdev, queue_idx++, callbacks[i],
> + vqs[i] = virtio_ccw_setup_vq(vdev, i, callbacks[i],
>names[i], ctx ? ctx[i] : false,
> ccw);
> if (IS_ERR(vqs[i])) {
For the virtio-ccw part:
Acked-by: Halil Pasic
On Thu, 1 Feb 2024 11:00:42 +0800
Xuan Zhuo wrote:
> > > And squish the parameters from transport to a structure.
> >
> > The patch did more than what is described here, it also switch to use
> > a structure for vring_create_virtqueue() etc.
> >
> > Is it better to split?
>
> Sure.
I unde