Re: [dpdk-dev] [PATCH v4 6/6] net/iavf: add watchdog for VFLR

2021-10-08 Thread Nicolau, Radu
On 10/8/2021 7:19 AM, Wu, Jingjing wrote: Besides checking VFGEN_RSTAT, there is a process to handle VIRTCHNL_OP_EVENT from PF. What is the change for? Any scenario which VIRTCHNL_OP_EVENT doesn't cover? And how is the 500us been determined? Hi Jingjing, thanks for reviewing, I think this

Re: [dpdk-dev] [PATCH v4 6/6] net/iavf: add watchdog for VFLR

2021-10-07 Thread Wu, Jingjing
> > Besides checking VFGEN_RSTAT, there is a process to handle > VIRTCHNL_OP_EVENT from PF. What is the change for? Any scenario which > VIRTCHNL_OP_EVENT doesn't cover? > > And how is the 500us been determined? > > Hi Jingjing, thanks for reviewing, I think this can be handled with the > VIRTCH

Re: [dpdk-dev] [PATCH v4 6/6] net/iavf: add watchdog for VFLR

2021-10-04 Thread Nicolau, Radu
On 10/4/2021 12:18 PM, Nicolau, Radu wrote: On 10/4/2021 3:15 AM, Wu, Jingjing wrote: -Original Message- From: Nicolau, Radu Sent: Friday, October 1, 2021 5:52 PM To: Wu, Jingjing ; Xing, Beilei Cc: dev@dpdk.org; Doherty, Declan ; Sinha, Abhijit ; Zhang, Qi Z ; Richardson, Bruc

Re: [dpdk-dev] [PATCH v4 6/6] net/iavf: add watchdog for VFLR

2021-10-04 Thread Nicolau, Radu
On 10/4/2021 3:15 AM, Wu, Jingjing wrote: -Original Message- From: Nicolau, Radu Sent: Friday, October 1, 2021 5:52 PM To: Wu, Jingjing ; Xing, Beilei Cc: dev@dpdk.org; Doherty, Declan ; Sinha, Abhijit ; Zhang, Qi Z ; Richardson, Bruce ; Ananyev, Konstantin ; Nicolau, Radu Subject

Re: [dpdk-dev] [PATCH v4 6/6] net/iavf: add watchdog for VFLR

2021-10-03 Thread Wu, Jingjing
> -Original Message- > From: Nicolau, Radu > Sent: Friday, October 1, 2021 5:52 PM > To: Wu, Jingjing ; Xing, Beilei > Cc: dev@dpdk.org; Doherty, Declan ; Sinha, Abhijit > ; Zhang, Qi Z ; Richardson, > Bruce > ; Ananyev, Konstantin > ; > Nicolau, Radu > Subject: [PATCH v4 6/6] net/i

[dpdk-dev] [PATCH v4 6/6] net/iavf: add watchdog for VFLR

2021-10-01 Thread Radu Nicolau
Add watchdog to iAVF PMD which support monitoring the VFLR register. If the device is not already in reset then if a VF reset in progress is detected then notfiy user through callback and set into reset state. If the device is already in reset then poll for completion of reset. Signed-off-by: Decl