Thread (85 messages) 85 messages, 6 authors, 2016-03-14

Re: [PATCH v2 3/7] vhost: refactor virtio_dev_merge_rx

From: Xie, Huawei <hidden>
Date: 2016-03-07 06:22:32

On 2/18/2016 9:48 PM, Yuanhan Liu wrote:
+	uint16_t idx = vq->avail->ring[avail_idx & (vq->size - 1)];
+	uint32_t vec_id = *vec_idx;
+	uint32_t len    = *allocated;
 
There is bug not using volatile to retrieve the avail idx.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help