[dpdk-dev] [PATCH v3 17/34] net/ice: support device and queue ops
wenzhuo.lu at intel.com
Thu Dec 13 02:34:48 CET 2018
> -----Original Message-----
> From: Mattias Rönnblom [mailto:mattias.ronnblom at ericsson.com]
> Sent: Thursday, December 13, 2018 4:07 AM
> To: Lu, Wenzhuo <wenzhuo.lu at intel.com>; dev at dpdk.org
> Cc: Yang, Qiming <qiming.yang at intel.com>; Li, Xiaoyun
> <xiaoyun.li at intel.com>; Wu, Jingjing <jingjing.wu at intel.com>
> Subject: Re: [dpdk-dev] [PATCH v3 17/34] net/ice: support device and queue
> 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.
Thanks for the comments. Make me feel that I understand more about the checkpatch complain about the usage of volatile.
Sorry, I don’t know the answer. I guess maybe we need volunteer or license concern? Better waiting others' comments.
More information about the dev