search for: io_len

Displaying 6 results from an estimated 6 matches for "io_len".

Did you mean: iov_len
2008 Dec 24
1
Driver removal notification: al175
Hi Kirill, just to notify you that your al175 driver is being removed from the NUT tree, as of 2.4.0-pre1. if you wish to see it entering the tree again, please contact the Development mailing list to talk about it. Merry Christmas and happy New Year. Arnaud -- Linux / Unix Expert R&D - Eaton - http://www.eaton.com/mgeops Network UPS Tools (NUT) Project Leader -
2023 Apr 04
9
[PATCH v5 0/9] vdpa_sim: add support for user VA
This series adds support for the use of user virtual addresses in the vDPA simulator devices. The main reason for this change is to lift the pinning of all guest memory. Especially with virtio devices implemented in software. The next step would be to generalize the code in vdpa-sim to allow the implementation of in-kernel software devices. Similar to vhost, but using vDPA so we can reuse the
2012 Apr 07
0
[PATCH 05/14] kvm tools: Add virtio-mmio support
...vdev, u32 vq) +{ + struct virtio_mmio *vmmio = vdev->virtio; + struct ioevent ioevent; + int err; + + vmmio->ioeventfds[vq] = (struct virtio_mmio_ioevent_param) { + .vdev = vdev, + .vq = vq, + }; + + ioevent = (struct ioevent) { + .io_addr = vmmio->addr + VIRTIO_MMIO_QUEUE_NOTIFY, + .io_len = sizeof(u32), + .fn = virtio_mmio_ioevent_callback, + .fn_ptr = &vmmio->ioeventfds[vq], + .datamatch = vq, + .fn_kvm = kvm, + .fd = eventfd(0, 0), + }; + + err = ioeventfd__add_event(&ioevent, false); + if (err) + return err; + + if (vdev->ops->notify_vq_eventfd) + vde...
2012 Apr 07
0
[PATCH 05/14] kvm tools: Add virtio-mmio support
...vdev, u32 vq) +{ + struct virtio_mmio *vmmio = vdev->virtio; + struct ioevent ioevent; + int err; + + vmmio->ioeventfds[vq] = (struct virtio_mmio_ioevent_param) { + .vdev = vdev, + .vq = vq, + }; + + ioevent = (struct ioevent) { + .io_addr = vmmio->addr + VIRTIO_MMIO_QUEUE_NOTIFY, + .io_len = sizeof(u32), + .fn = virtio_mmio_ioevent_callback, + .fn_ptr = &vmmio->ioeventfds[vq], + .datamatch = vq, + .fn_kvm = kvm, + .fd = eventfd(0, 0), + }; + + err = ioeventfd__add_event(&ioevent, false); + if (err) + return err; + + if (vdev->ops->notify_vq_eventfd) + vde...
2015 Nov 18
2
[RFC] kvmtool: add support for modern virtio-pci
...datamatch = vq, + .fn_kvm = kvm, + }; + + /* + * Vhost will poll the eventfd in host kernel side, otherwise we + * need to poll in userspace. + */ + if (!vdev->use_vhost) + flags |= IOEVENTFD_FLAG_USER_POLL; + + /* ioport */ + ioevent.io_addr = vpci->port_addr + 0x80 + vq * 2; + ioevent.io_len = sizeof(u16); + ioevent.fd = fds[0] = eventfd(0, 0); + r = ioeventfd__add_event(&ioevent, flags | IOEVENTFD_FLAG_PIO); + if (r) + return r; + + /* mmio */ + ioevent.io_addr = vpci->mmio_addr + 0x80 + vq * 2; + ioevent.io_len = sizeof(u16); + ioevent.fd = fds[1] = eventfd(0, 0); + r = ioeve...
2015 Nov 18
2
[RFC] kvmtool: add support for modern virtio-pci
...datamatch = vq, + .fn_kvm = kvm, + }; + + /* + * Vhost will poll the eventfd in host kernel side, otherwise we + * need to poll in userspace. + */ + if (!vdev->use_vhost) + flags |= IOEVENTFD_FLAG_USER_POLL; + + /* ioport */ + ioevent.io_addr = vpci->port_addr + 0x80 + vq * 2; + ioevent.io_len = sizeof(u16); + ioevent.fd = fds[0] = eventfd(0, 0); + r = ioeventfd__add_event(&ioevent, flags | IOEVENTFD_FLAG_PIO); + if (r) + return r; + + /* mmio */ + ioevent.io_addr = vpci->mmio_addr + 0x80 + vq * 2; + ioevent.io_len = sizeof(u16); + ioevent.fd = fds[1] = eventfd(0, 0); + r = ioeve...