Re: [PATCH RFC 1/2] virtio: introduce packed ring defines

From
Tiwei Bie <hidden>
Date
2018-02-27 12:03:35
Also in
lkml
Reply to
Jens Freimann, 2018-02-27
On Tue, Feb 27, 2018 at 09:54:58AM +0100, Jens Freimann wrote:
On Fri, Feb 23, 2018 at 07:18:00PM +0800, Tiwei Bie wrote:
[...]
quoted

+struct vring_packed_desc_event {
+	/* Descriptor Event Offset */
+	__virtio16 desc_event_off   : 15,
+	/* Descriptor Event Wrap Counter */
+		   desc_event_wrap  : 1;
+	/* Descriptor Event Flags */
+	__virtio16 desc_event_flags : 2;
+};
Where would the virtqueue number go in driver notifications?
This structure is for event suppression instead of notification.

You could refer to the "Event Suppression Structure Format"
section of the spec for more details:

https://github.com/oasis-tcs/virtio-docs/blob/master/virtio-v1.1-packed-wd08.pdf

Best regards,
Tiwei Bie
Thread (19 messages) 19 messages, 5 authors, last reply 2018-03-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help