ixgbe/base: fix SFP probing
authorOuyang Changchun <changchun.ouyang@intel.com>
Thu, 12 Feb 2015 12:00:59 +0000 (20:00 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 27 Apr 2015 08:05:58 +0000 (10:05 +0200)
commit8dba79550ac3fc1bad4cf71eb9f02d1b20d50b7b
tree801380afc23985d712ac2cd2a3c443bea88942d9
parent5143c92de8bc9dc1fd00fb237b10a67c0ffa8580
ixgbe/base: fix SFP probing

LAN ID is needed for i2c access, so move it before reading I2C eeprom.

Signed-off-by: Changchun Ouyang <changchun.ouyang@intel.com>
Acked-by: Jijiang Liu <jijiang.liu@intel.com>
lib/librte_pmd_ixgbe/ixgbe/ixgbe_phy.c