> -----Original Message-----
> From: Thomas Monjalon <tho...@monjalon.net>
> Sent: 2023年2月6日 15:23
> To: Ye, MingjinX <mingjinx...@intel.com>
> Cc: dev@dpdk.org; sta...@dpdk.org; Zhou, YidingX
> <yidingx.z...@intel.com>; Yang, Qiming <qiming.y...@intel.com>; Zhang,
> Qi Z <qi.z.zh...@intel.com>; Ye, MingjinX <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?
DPDK could not get link status. At this point, the link status obtained through
the pmd API is wrong.

> In which case, DPDK application would be blocked during 5 seconds?
When the dpdk application startup port is used, it will be blocked for up
to 5 seconds to ensure that the connection status can be obtained.
> 

Reply via email to