Displaying 6 results from an estimated 6 matches for "vring_enable_interrupts".
2013 Jun 08
7
[virtio-spec PATCH 0/5] Receiving Used Buffers example code: cleanups and an extra mb()
Patches before the last are small cleanups.
In the last patch I'm trying to extract / generalize an idea from Stefan
Hajnoczi's review of my virtio-net driver for OVMF.
Unfortunately I can't find Stefan's email on any mailing list archive
(sourceforge, gmane, mail-archive etc. all have only my response), so
I'll quote it here.
The patch Stefan was reviewing is
2013 Jun 08
7
[virtio-spec PATCH 0/5] Receiving Used Buffers example code: cleanups and an extra mb()
Patches before the last are small cleanups.
In the last patch I'm trying to extract / generalize an idea from Stefan
Hajnoczi's review of my virtio-net driver for OVMF.
Unfortunately I can't find Stefan's email on any mailing list archive
(sourceforge, gmane, mail-archive etc. all have only my response), so
I'll quote it here.
The patch Stefan was reviewing is
2011 May 04
1
[PATCHv2] virtio-spec: 64 bit features, used/avail event
...ayout
+
+\begin_layout Plain Layout
+
+\change_inserted 0 1304341880
+
+ if
+\change_deleted 0 1304341882
+while
+\change_unchanged
+(vq->last_seen_used != vring->used.idx) {
+\change_inserted 0 1304341888
+
+\end_layout
+
+\begin_layout Plain Layout
+
+\change_inserted 0 1304342047
+
+ vring_enable_interrupts(vq);
+\end_layout
+
+\begin_layout Plain Layout
+
+\change_inserted 0 1304341986
+
+ mb();
+\end_layout
+
+\begin_layout Plain Layout
+
+\change_inserted 0 1304341964
+
+ if (vq->last_seen_used != vring->used.idx)
+\end_layout
+
+\begin_layout Plain Layout
+
+\change_inserted 0 1304341974
+...
2011 May 04
1
[PATCHv2] virtio-spec: 64 bit features, used/avail event
...ayout
+
+\begin_layout Plain Layout
+
+\change_inserted 0 1304341880
+
+ if
+\change_deleted 0 1304341882
+while
+\change_unchanged
+(vq->last_seen_used != vring->used.idx) {
+\change_inserted 0 1304341888
+
+\end_layout
+
+\begin_layout Plain Layout
+
+\change_inserted 0 1304342047
+
+ vring_enable_interrupts(vq);
+\end_layout
+
+\begin_layout Plain Layout
+
+\change_inserted 0 1304341986
+
+ mb();
+\end_layout
+
+\begin_layout Plain Layout
+
+\change_inserted 0 1304341964
+
+ if (vq->last_seen_used != vring->used.idx)
+\end_layout
+
+\begin_layout Plain Layout
+
+\change_inserted 0 1304341974
+...
2011 Jun 01
3
[PATCHv3] virtio-spec: 64 bit features, used/avail event, fixes
...ayout
+
+\begin_layout Plain Layout
+
+\change_inserted 1 1304341880
+
+ if
+\change_deleted 1 1304341882
+while
+\change_unchanged
+(vq->last_seen_used != vring->used.idx) {
+\change_inserted 1 1304341888
+
+\end_layout
+
+\begin_layout Plain Layout
+
+\change_inserted 1 1304342047
+
+ vring_enable_interrupts(vq);
+\end_layout
+
+\begin_layout Plain Layout
+
+\change_inserted 1 1304341986
+
+ mb();
+\end_layout
+
+\begin_layout Plain Layout
+
+\change_inserted 1 1304341964
+
+ if (vq->last_seen_used != vring->used.idx)
+\end_layout
+
+\begin_layout Plain Layout
+
+\change_inserted 1 1304341974
+...
2011 Jun 01
3
[PATCHv3] virtio-spec: 64 bit features, used/avail event, fixes
...ayout
+
+\begin_layout Plain Layout
+
+\change_inserted 1 1304341880
+
+ if
+\change_deleted 1 1304341882
+while
+\change_unchanged
+(vq->last_seen_used != vring->used.idx) {
+\change_inserted 1 1304341888
+
+\end_layout
+
+\begin_layout Plain Layout
+
+\change_inserted 1 1304342047
+
+ vring_enable_interrupts(vq);
+\end_layout
+
+\begin_layout Plain Layout
+
+\change_inserted 1 1304341986
+
+ mb();
+\end_layout
+
+\begin_layout Plain Layout
+
+\change_inserted 1 1304341964
+
+ if (vq->last_seen_used != vring->used.idx)
+\end_layout
+
+\begin_layout Plain Layout
+
+\change_inserted 1 1304341974
+...