[Intel-wired-lan] [next PATCH S80-V3 10/11] i40e: Retry AQC GetPhyAbilities to overcome I2CRead hangs

Bowers, AndrewX andrewx.bowers at intel.com
Tue Sep 12 22:15:35 UTC 2017


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Alice Michael
> Sent: Thursday, September 7, 2017 5:06 AM
> To: Michael, Alice <alice.michael at intel.com>; intel-wired-
> lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH S80-V3 10/11] i40e: Retry AQC
> GetPhyAbilities to overcome I2CRead hangs
> 
> From: Jayaprakash Shanmugam <jayaprakash.shanmugam at intel.com>
> 
> - When the I2C is busy, the PHY reads are delayed.  The firmware will
>   return EGAIN in these cases with an expectation that the SW will
>   trigger the reads again
> - This patch retries the operation for a maximum period of 500ms
> 
> Signed-off-by: Jayaprakash Shanmugam
> <jayaprakash.shanmugam at intel.com>
> ---
>  drivers/net/ethernet/intel/i40e/i40e_common.c | 42
> ++++++++++++++++++---------
>  drivers/net/ethernet/intel/i40e/i40e_type.h   |  3 ++
>  drivers/net/ethernet/intel/i40evf/i40e_type.h |  3 ++
>  3 files changed, 35 insertions(+), 13 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list