Re: [dpdk-dev] net/e1000: correct mb function

2019-09-11 Thread Ye Xiaolong
On 09/11, Xiao Zhang wrote: >Use rte_cio_wmb instead of rte_wmb when writing TX descriptor since it's >CIO memory. >Replace rte_io_wmb and E1000_PCI_REG_WRITE_RELAXED with >E1000_PCI_REG_WRITE since it has rte_io_wmb inside, which will be more >clear. > >Fixes: 1fc9701238ed ("net/e1000: fix i219 ha

Re: [dpdk-dev] net/e1000: correct mb function

2019-09-10 Thread Gavin Hu (Arm Technology China)
> -Original Message- > From: dev On Behalf Of Xiao Zhang > Sent: Wednesday, September 11, 2019 1:41 AM > To: dev@dpdk.org > Cc: wenzhuo...@intel.com; Xiao Zhang ; > sta...@dpdk.org > Subject: [dpdk-dev] net/e1000: correct mb function > > Use rte_cio_wmb inst

[dpdk-dev] net/e1000: correct mb function

2019-09-10 Thread Xiao Zhang
Use rte_cio_wmb instead of rte_wmb when writing TX descriptor since it's CIO memory. Replace rte_io_wmb and E1000_PCI_REG_WRITE_RELAXED with E1000_PCI_REG_WRITE since it has rte_io_wmb inside, which will be more clear. Fixes: 1fc9701238ed ("net/e1000: fix i219 hang on reset/close") Cc: sta...@dpdk