[dpdk-dev] [PATCH v2] drivers/i40e: fix link update no wait

Zhang, Helin helin.zhang at intel.com
Fri Mar 9 14:22:28 CET 2018



> -----Original Message-----
> From: Lu, Wenzhuo
> Sent: Friday, March 9, 2018 4:45 PM
> To: Zhang, Roy Fan; dev at dpdk.org
> Cc: Glynn, Michael J; Zhang, Roy Fan; stable at dpdk.org; Zhang, Helin; Liang,
> Cunming; Chilikin, Andrey
> Subject: RE: [dpdk-dev] [PATCH v2] drivers/i40e: fix link update no wait
> 
> Hi,
> 
> 
> > -----Original Message-----
> > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Fan Zhang
> > Sent: Thursday, March 8, 2018 8:18 PM
> > To: dev at dpdk.org
> > Cc: Glynn, Michael J <michael.j.glynn at intel.com>; Zhang, Roy Fan
> > <roy.fan.zhang at intel.com>; stable at dpdk.org; Zhang, Helin
> > <helin.zhang at intel.com>; Liang, Cunming <cunming.liang at intel.com>;
> > Chilikin, Andrey <andrey.chilikin at intel.com>
> > Subject: [dpdk-dev] [PATCH v2] drivers/i40e: fix link update no wait
> >
> > Fixes: 263333bbb7a9 ("i40e: fix link status timeout")
> > Cc: cunming.liang at intel.com
> > Cc: stable at dpdk.org
> >
> > 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 <roy.fan.zhang at intel.com>
> > Signed-off-by: Andrey Chilikin <andrey.chilikin at intel.com>
> Acked-by: Wenzhuo Lu <wenzhuo.lu at intel.com>
Applied to dpdk-next-net-intel, with minor commit log changes. Thanks!

/Helin


More information about the dev mailing list