[Intel-wired-lan] [PATCH V3 1/4] ixgbe: Fix issues with EEPROM access

Bowers, AndrewX andrewx.bowers at intel.com
Thu Dec 8 18:22:03 UTC 2016


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Mark D Rustad
> Sent: Wednesday, December 07, 2016 2:33 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH V3 1/4] ixgbe: Fix issues with EEPROM
> access
> 
> There are two problems with EEPROM access. One is that it needs to hold the
> semaphore until the entire response is read or else the response can be
> corrupted by other firmware accesses. The second problem is that acquiring
> and releasing the semaphore is slow, so it should be taken and released once
> when multiple EEPROM accesses will be done.
> 
> Both of these issues can be solved by adding a new function,
> ixgbe_hic_unlocked, to issue firmware commands that will assume that the
> caller has acquired the needed semaphore.
> 
> Signed-off-by: Mark Rustad <mark.d.rustad at intel.com>
> ---
>  drivers/net/ethernet/intel/ixgbe/ixgbe_common.c |   97
> +++++++++++++++--------
>  drivers/net/ethernet/intel/ixgbe/ixgbe_common.h |    1
>  drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c   |   75 +++++++-----------
>  3 files changed, 91 insertions(+), 82 deletions(-)

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




More information about the Intel-wired-lan mailing list