Skip to content
Commit 4988410f authored by Jayaprakash Shanmugam's avatar Jayaprakash Shanmugam Committed by Jeff Kirsher
Browse files

i40e: Retry AQC GetPhyAbilities to overcome I2CRead hangs



- 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: default avatarJayaprakash Shanmugam <jayaprakash.shanmugam@intel.com>
Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent b861fb76
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment