Re: [dpdk-dev] [PATCH v2] net/ifc: do not notify before HW ready

2018-09-26 Thread Ferruh Yigit
sta...@dpdk.org >> Subject: Re: [dpdk-dev] [PATCH v2] net/ifc: do not notify before HW ready >> >> On 09/14/2018 02:25 AM, Xiao Wang wrote: >>> If the device is not clearly reset by the previous driver and holds >>> some invalid ring addr, and the relay thread

Re: [dpdk-dev] [PATCH v2] net/ifc: do not notify before HW ready

2018-09-25 Thread Wang, Xiao W
Hi, > -Original Message- > From: Kevin Traynor [mailto:ktray...@redhat.com] > Sent: Wednesday, September 26, 2018 1:16 AM > To: Wang, Xiao W > Cc: Ye, Xiaolong ; Bie, Tiwei ; > dev@dpdk.org; sta...@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] net/ifc: do not n

Re: [dpdk-dev] [PATCH v2] net/ifc: do not notify before HW ready

2018-09-25 Thread Kevin Traynor
On 09/14/2018 02:25 AM, Xiao Wang wrote: > If the device is not clearly reset by the previous driver and holds > some invalid ring addr, and the relay thread kicks it before HW is > properly re-configured, a bad DMA request may happen. > > Besides, the notify_addr which is used by the relay thread

Re: [dpdk-dev] [PATCH v2] net/ifc: do not notify before HW ready

2018-09-18 Thread Zhang, Qi Z
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ye Xiaolong > Sent: Friday, September 14, 2018 4:42 PM > To: Wang, Xiao W > Cc: Bie, Tiwei ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] net/ifc: do not notify before HW ready >

Re: [dpdk-dev] [PATCH v2] net/ifc: do not notify before HW ready

2018-09-13 Thread Ye Xiaolong
Looks good to me. Reviewed-by: Ye Xiaolong Thanks, Xiaolong On 09/14, Xiao Wang wrote: >If the device is not clearly reset by the previous driver and holds >some invalid ring addr, and the relay thread kicks it before HW is >properly re-configured, a bad DMA request may happen. > >Besides, the

[dpdk-dev] [PATCH v2] net/ifc: do not notify before HW ready

2018-09-13 Thread Xiao Wang
If the device is not clearly reset by the previous driver and holds some invalid ring addr, and the relay thread kicks it before HW is properly re-configured, a bad DMA request may happen. Besides, the notify_addr which is used by the relay thread is set in the vdpa_ifcvf_start function, if a kick