[dpdk-dev] [PATCH v3 17/34] net/ice: support device and queue ops

Mattias Rönnblom mattias.ronnblom at ericsson.com
Wed Dec 12 21:07:00 CET 2018


On 2018-12-12 07:59, Wenzhuo Lu wrote:

/../

> +
> +	for (i = 0; i < len * sizeof(union ice_rx_desc); i++)
> +		((volatile char *)rxq->rx_ring)[i] = 0;

More of a general question... but why doesn't DPDK has the 
READ/WRITE_ONCE() of the Linux kernel? Would reduce the amount of 
open-coded use of volatile.


More information about the dev mailing list