net/ice: speed up to retrieve EEPROM
authorLeyi Rong <leyi.rong@intel.com>
Mon, 18 Mar 2019 05:50:39 +0000 (13:50 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Mar 2019 17:15:42 +0000 (18:15 +0100)
commit68a1ab82ad74403de83eadbecd8c2ffdd5f63ee8
tree7a7d5db1bc5188555a35a4b9460ba1f00b294720
parent3e0396166be4950fcbb629215019efadaf7c19c5
net/ice: speed up to retrieve EEPROM

Replace ice_read_sr_word with ice_read_sr_buf in ice_get_eeprom.

Fixes: d0dd1c8e1997 ("net/ice: support EEPROM information getting")
Cc: stable@dpdk.org
Signed-off-by: Leyi Rong <leyi.rong@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_ethdev.c