Searched hist:b8c06ad4 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | vringh.h | b8c06ad4 Mon Mar 15 11:34:41 CDT 2021 Stefano Garzarella <sgarzare@redhat.com> vringh: implement vringh_kiov_advance()
In some cases, it may be useful to provide a way to skip a number of bytes in a vringh_kiov.
Let's implement vringh_kiov_advance() for this purpose, reusing the code from vringh_iov_xfer(). We replace that code calling the new vringh_kiov_advance().
Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Link: https://lore.kernel.org/r/20210315163450.254396-6-sgarzare@redhat.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
|
/openbmc/linux/drivers/vhost/ |
H A D | vringh.c | b8c06ad4 Mon Mar 15 11:34:41 CDT 2021 Stefano Garzarella <sgarzare@redhat.com> vringh: implement vringh_kiov_advance()
In some cases, it may be useful to provide a way to skip a number of bytes in a vringh_kiov.
Let's implement vringh_kiov_advance() for this purpose, reusing the code from vringh_iov_xfer(). We replace that code calling the new vringh_kiov_advance().
Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Link: https://lore.kernel.org/r/20210315163450.254396-6-sgarzare@redhat.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
|