search for: ab41185

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

Did you mean: 741185
2013 Mar 05
2
[PATCH vringh] virtio: Introduce vringh wrappers in virtio_config
...hs)(struct virtio_device *vdev, unsigned nhvrs, + struct vringh *vrhs[], vrh_callback_t *callbacks[]); + void (*del_vrhs)(struct virtio_device *vdev); }; /* If driver didn't advertise the feature, it will never appear. */ diff --git a/include/linux/vringh.h b/include/linux/vringh.h index ab41185..8156f51 100644 --- a/include/linux/vringh.h +++ b/include/linux/vringh.h @@ -50,6 +50,12 @@ struct vringh { /* The vring (note: it may contain user pointers!) */ struct vring vring; + + /* The function to call when buffers are available */ + void (*notify)(struct vringh *); + + /* A pointer...
2013 Mar 05
2
[PATCH vringh] virtio: Introduce vringh wrappers in virtio_config
...hs)(struct virtio_device *vdev, unsigned nhvrs, + struct vringh *vrhs[], vrh_callback_t *callbacks[]); + void (*del_vrhs)(struct virtio_device *vdev); }; /* If driver didn't advertise the feature, it will never appear. */ diff --git a/include/linux/vringh.h b/include/linux/vringh.h index ab41185..8156f51 100644 --- a/include/linux/vringh.h +++ b/include/linux/vringh.h @@ -50,6 +50,12 @@ struct vringh { /* The vring (note: it may contain user pointers!) */ struct vring vring; + + /* The function to call when buffers are available */ + void (*notify)(struct vringh *); + + /* A pointer...
2013 Mar 08
1
[PATCHv2] virtio: Introduce vringh wrappers in virtio_config
...ct device dev; struct virtio_device_id id; struct virtio_config_ops *config; + struct vringh_config_ops *vringh_config; struct list_head vqs; /* Note that this is a Linux set_bit-style bitmap. */ unsigned long features[1]; diff --git a/include/linux/vringh.h b/include/linux/vringh.h index ab41185..c7d9289 100644 --- a/include/linux/vringh.h +++ b/include/linux/vringh.h @@ -50,6 +50,28 @@ struct vringh { /* The vring (note: it may contain user pointers!) */ struct vring vring; + + /* The function to call to notify the guest about added buffers */ + void (*notify)(struct vringh *); +};...
2013 Mar 08
1
[PATCHv2] virtio: Introduce vringh wrappers in virtio_config
...ct device dev; struct virtio_device_id id; struct virtio_config_ops *config; + struct vringh_config_ops *vringh_config; struct list_head vqs; /* Note that this is a Linux set_bit-style bitmap. */ unsigned long features[1]; diff --git a/include/linux/vringh.h b/include/linux/vringh.h index ab41185..c7d9289 100644 --- a/include/linux/vringh.h +++ b/include/linux/vringh.h @@ -50,6 +50,28 @@ struct vringh { /* The vring (note: it may contain user pointers!) */ struct vring vring; + + /* The function to call to notify the guest about added buffers */ + void (*notify)(struct vringh *); +};...
2013 Feb 18
9
[PATCH 0/5] vringh
This introduces vringh, which are generic accessors for virtio rings (host side). There's a host-side implementation in vhost, but it assumes that the rings are in userspace, and is tied to the vhost implementation. I have patches to adapt it to use vringh, but I'm pushing this in the next merge window for Sjur, who has CAIF patches which need it. This also includes a test program in
2013 Feb 18
9
[PATCH 0/5] vringh
This introduces vringh, which are generic accessors for virtio rings (host side). There's a host-side implementation in vhost, but it assumes that the rings are in userspace, and is tied to the vhost implementation. I have patches to adapt it to use vringh, but I'm pushing this in the next merge window for Sjur, who has CAIF patches which need it. This also includes a test program in