Hi Mattias,
> -----Original Message----- > From: Mattias Rönnblom [mailto:mattias.ronnb...@ericsson.com] > Sent: Thursday, December 13, 2018 4:07 AM > To: Lu, Wenzhuo <wenzhuo...@intel.com>; dev@dpdk.org > Cc: Yang, Qiming <qiming.y...@intel.com>; Li, Xiaoyun > <xiaoyun...@intel.com>; Wu, Jingjing <jingjing...@intel.com> > 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.