Hi Qi, > -----Original Message----- > From: dev <[email protected]> On Behalf Of Gavin Hu (Arm > Technology China) > Sent: Tuesday, September 17, 2019 10:08 AM > To: Zhang, Qi Z <[email protected]>; [email protected] > Cc: nd <[email protected]>; [email protected]; Richardson, Bruce > <[email protected]>; Liu, Yong <[email protected]>; Wang, > Yinan <[email protected]>; [email protected]; > [email protected]; Honnappa Nagarahalli > <[email protected]>; Ruifeng Wang (Arm Technology China) > <[email protected]>; Steve Capper <[email protected]> > Subject: Re: [dpdk-dev] [PATCH v2 1/5] net/i40e: use relaxed and remove > duplicate barrier > > Hi Qi, > > > -----Original Message----- > > From: Zhang, Qi Z <[email protected]> > > Sent: Tuesday, September 17, 2019 9:53 AM > > To: Gavin Hu (Arm Technology China) <[email protected]>; > [email protected] > > Cc: nd <[email protected]>; [email protected]; Richardson, Bruce > > <[email protected]>; Liu, Yong <[email protected]>; Wang, > Yinan > > <[email protected]>; [email protected]; > > [email protected]; Honnappa Nagarahalli > > <[email protected]>; Ruifeng Wang (Arm Technology > China) > > <[email protected]>; Steve Capper <[email protected]> > > Subject: RE: [dpdk-dev] [PATCH v2 1/5] net/i40e: use relaxed and remove > > duplicate barrier > > > > > > > > > -----Original Message----- > > > From: dev [mailto:[email protected]] On Behalf Of Gavin Hu > > > Sent: Monday, September 16, 2019 7:27 PM > > > To: [email protected] > > > Cc: [email protected]; [email protected]; Richardson, Bruce > > > <[email protected]>; Liu, Yong <[email protected]>; Wang, > > Yinan > > > <[email protected]>; [email protected]; > > > [email protected]; [email protected]; > > > [email protected]; [email protected] > > > Subject: [dpdk-dev] [PATCH v2 1/5] net/i40e: use relaxed and remove > > > duplicate barrier > > > > > > To guarantee the orderings of successive stores to CIO and MMIO > memory, > > a > > > lighter weight rte_io_wmb [1] can be used instead of rte_wmb, and > since > > the > > > I40E_PCI_REG_WRITE API already has an inclusive rte_io_wmb, this > explicit > > call > > > can be even saved. > > > > > > [1] > http://git.dpdk.org/dpdk/tree/lib/librte_eal/common/include/generic/ > > > rte_atomic.h#n98 > > > > > > Signed-off-by: Gavin Hu <[email protected]> > > > > Can you also capture the one at the tail of i40e_xmit_pkts? > Thanks for your review, I will fix this in next version. I checked again, in this version, the rte_wmb at the tail of i40e_xmit_pkts was already removed and the following I40E_PCI_REG_WRITE_RELAXED was replaced by I40E_PCI_REG_WRITE, which has an inclusive rte_io_wmb. > > > > Otherwise > > Acked-by: Qi Zhang <[email protected]> > >
Re: [dpdk-dev] [PATCH v2 1/5] net/i40e: use relaxed and remove duplicate barrier
Gavin Hu (Arm Technology China) Mon, 16 Sep 2019 20:24:59 -0700
- [dpdk-dev] [PATCH v2 0/5] fix and optimize... Gavin Hu
- [dpdk-dev] [PATCH v2 1/5] net/i40e: u... Gavin Hu
- Re: [dpdk-dev] [PATCH v2 1/5] net... Zhang, Qi Z
- Re: [dpdk-dev] [PATCH v2 1/5]... Gavin Hu (Arm Technology China)
- Re: [dpdk-dev] [PATCH v2 ... Gavin Hu (Arm Technology China)
- Re: [dpdk-dev] [PATC... Zhang, Qi Z
- [dpdk-dev] [PATCH v2 2/5] net/ice: us... Gavin Hu
- Re: [dpdk-dev] [PATCH v2 2/5] net... Zhang, Qi Z
- [dpdk-dev] [PATCH v2 5/5] net/bnxt: e... Gavin Hu
- Re: [dpdk-dev] [PATCH v2 5/5] net... Ajit Khaparde
- [dpdk-dev] [PATCH v2 4/5] net/bnxt: r... Gavin Hu
- Re: [dpdk-dev] [PATCH v2 4/5] net... Ajit Khaparde
- [dpdk-dev] [PATCH v2 3/5] net/bnxt: r... Gavin Hu
- Re: [dpdk-dev] [PATCH v2 3/5] net... Ajit Khaparde
- Re: [dpdk-dev] [PATCH v2 0/5] fix and... Ferruh Yigit

