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.

Reply via email to