> -----Original Message----- > From: Thomas Monjalon <tho...@monjalon.net> > Sent: Monday, February 06, 2023 3:23 PM > To: Mingjin Ye <mingjinx...@intel.com> > Cc: dev@dpdk.org; sta...@dpdk.org; yidingx.z...@intel.com; Qiming Yang > <qiming.y...@intel.com>; Qi Zhang <qi.z.zh...@intel.com>; Mingjin Ye > <mingjinx...@intel.com>; david.march...@redhat.com; > ferruh.yi...@amd.com > Subject: Re: [PATCH] net/ice: fix get link status timeout > > 06/02/2023 07:22, Mingjin Ye: > > When hw is just started, it will immediately obtain the link status, > > and the longest attempt is 1 second. Some NICs are slow to initialize, > > which make it fails to obtain the link status. > > > > The patch fixes this issue by modifying the longest attempt to 5 seconds. > > What is the consequence? > In which case, DPDK application would be blocked during 5 seconds? >
I think ice_link_update with wait_to_complete needs to be optimized when ice_link_update. Our system integrates dozens or more interfaces(E810), even if wait 1 second, the system starts very slowly.