> -----Original Message----- > From: dev <dev-boun...@dpdk.org> On Behalf Of Wenjun Wu > Sent: Thursday, April 29, 2021 4:27 PM > To: dev@dpdk.org; Xing, Beilei <beilei.x...@intel.com> > Cc: Wu, Wenjun1 <wenjun1...@intel.com> > Subject: [dpdk-dev] [PATCH v5] net/i40e: extend VF reset waiting time > > When starting VF, VF will issue reset command to PF, wait a fixed amount of > time, and assume VF reset is done on PF side. However, compared with kernel > PF, DPDK PF needs more time to setup. If we run DPDK PF to support DPDK VF, > the original delay will not be enough. When we first start VF after PF is > launched, the execution time of the statement info.msg_buf = > rte_zmalloc("msg_buffer", info.buf_len, 0); in the function > i40e_dev_handle_aq_msg is more than 200ms. It may cause VF start error. > > Since iavf can hardly triggle this issue and i40evf will be replaced by iavf > in > future DPDK versions, this patch provide a workaround. > We extend VF reset waiting time from 200ms to 500ms so that VF can start > normally when using DPDK PF and DPDK VF in most cases. > > Signed-off-by: Wenjun Wu <wenjun1...@intel.com> Acked-by: Qi Zhang <qi.z.zh...@intel.com> Applied to dpdk-next-net-intel. Thanks Qi