Hi,
> -----Original Message----- > From: dev [mailto:[email protected]] On Behalf Of Fan Zhang > Sent: Thursday, March 8, 2018 8:18 PM > To: [email protected] > Cc: Glynn, Michael J <[email protected]>; Zhang, Roy Fan > <[email protected]>; [email protected]; Zhang, Helin > <[email protected]>; Liang, Cunming <[email protected]>; > Chilikin, Andrey <[email protected]> > Subject: [dpdk-dev] [PATCH v2] drivers/i40e: fix link update no wait > > Fixes: 263333bbb7a9 ("i40e: fix link status timeout") > Cc: [email protected] > Cc: [email protected] > > In i40e_dev_link_update() the driver obtains the link status info via admin > queue command despite of "no_wait" flag. This requires relatively long time > and may be a problem to some application such as ovs-dpdk > (https://bugzilla.redhat.com/show_bug.cgi?id=1551761). > > This patch aims to fix the problem by using a different approach of obtaining > link status for i40e NIC without waiting. > Instead of getting the link status via admin queue command, this patch > reads the link status registers to accelerate the procedure. > > Signed-off-by: Fan Zhang <[email protected]> > Signed-off-by: Andrey Chilikin <[email protected]> Acked-by: Wenzhuo Lu <[email protected]>

