Hi Mattias,
> -----Original Message----- > From: Mattias Rönnblom [mailto:[email protected]] > Sent: Thursday, December 13, 2018 4:07 AM > To: Lu, Wenzhuo <[email protected]>; [email protected] > Cc: Yang, Qiming <[email protected]>; Li, Xiaoyun > <[email protected]>; Wu, Jingjing <[email protected]> > Subject: Re: [dpdk-dev] [PATCH v3 17/34] net/ice: support device and queue > ops > > 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.

