net/ice: fix EEPROM data
authorShougang Wang <shougangx.wang@intel.com>
Sun, 28 Jun 2020 03:37:36 +0000 (03:37 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 7 Jul 2020 21:38:26 +0000 (23:38 +0200)
commit01186263c2c79b9a22d3f3b1eeec844c6552fdc7
treef23744b53cb5a5402903365340d6deea9da7cb70
parentb23c52a451958a6140fc86fa72f51f5a8f4584da
net/ice: fix EEPROM data

Kernel driver reads EEPROM data from flash but DPDK reads from
shadow ram. This patch fixes the issue by changing method to get
EEPROM data from flash.

Fixes: 68a1ab82ad74 ("net/ice: speed up to retrieve EEPROM")
Cc: stable@dpdk.org
Signed-off-by: Shougang Wang <shougangx.wang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_ethdev.c