ixgbe: fix link issue in loopback mode
authorCunming Liang <cunming.liang@intel.com>
Thu, 5 Feb 2015 08:45:18 +0000 (16:45 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 15 Feb 2015 16:09:31 +0000 (17:09 +0100)
commitb0920f481ae5643a257fc32f3b98462626830b03
tree55408eaa6fd766e87783bcaa76aaab2f4e6a5263
parentf2c5125a686ab64034925dabafea0877d1e5857e
ixgbe: fix link issue in loopback mode

In loopback mode, it's expected force link up even when there's no cable connect.
But in codes, setup_sfp() rewrites the related register.
It causes in the case 'multispeed_fiber', it can't link up without cable connect.

Signed-off-by: Cunming Liang <cunming.liang@intel.com>
Acked-by: Patrick Lu <patrick.lu@intel.com>
lib/librte_pmd_ixgbe/ixgbe_ethdev.c