aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/i40e/i40e_main.c
diff options
context:
space:
mode:
authorMariusz Stachura <mariusz.stachura@intel.com>2018-04-20 01:41:34 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2018-04-30 09:12:33 -0700
commit6334f2432fdf5d5252850ff2eebbaa00232f6ab9 (patch)
tree0eaa8a0ddefb40e562d312cdb50d232b74e0f406 /drivers/net/ethernet/intel/i40e/i40e_main.c
parentf5254429e1756ad7fede0249c9b779e37b6c967f (diff)
i40e: fix reading LLDP configuration
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@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_main.c')
0 files changed, 0 insertions, 0 deletions