[Intel-wired-lan] [next PATCH S90 2/8] i40e: fix reading LLDP configuration
Bowers, AndrewX
andrewx.bowers at intel.com
Mon Apr 23 20:56:09 UTC 2018
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Alice Michael
> Sent: Friday, April 20, 2018 1:42 AM
> To: Michael, Alice <alice.michael at intel.com>; intel-wired-
> lan at lists.osuosl.org
> Cc: Stachura, Mariusz <mariusz.stachura at intel.com>
> Subject: [Intel-wired-lan] [next PATCH S90 2/8] i40e: fix reading LLDP
> configuration
>
> From: Mariusz Stachura <mariusz.stachura at intel.com>
>
> Previous method for reading LLDP config was based on hard-coded offsets. It
> happened to work, because of structured architecture of the NVM memory.
> In the new approach, known as FLAT, we need to calculate the absolute
> address, instead of using relative values.
> Needed defines for memory location were added.
>
> Signed-off-by: Mariusz Stachura <mariusz.stachura at intel.com>
> ---
> drivers/net/ethernet/intel/i40e/i40e_dcb.c | 91
> ++++++++++++++++++++++++---
> drivers/net/ethernet/intel/i40e/i40e_type.h | 8 ++-
> drivers/net/ethernet/intel/i40evf/i40e_type.h | 10 ++-
> 3 files changed, 99 insertions(+), 10 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list