[dpdk-dev] [PATCH v2 3/7] vhost: refactor virtio_dev_merge_rx

Xie, Huawei huawei.xie at intel.com
Mon Mar 7 07:22:25 CET 2016


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.


More information about the dev mailing list