ixgbe: initialize link status on initialization
authorStephen Hemminger <stephen@networkplumber.org>
Sat, 27 Dec 2014 17:41:35 +0000 (09:41 -0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 27 Jan 2015 11:36:24 +0000 (12:36 +0100)
commit359ae1cc65dedc6906c24bec5d29af18b604bbe1
tree3f1051c64dfcea7caf3578f1d4289d605b0f45d2
parent4e4510dfff548eab47da112b8fb7c48a33f0f959
ixgbe: initialize link status on initialization

The link_status variable is not set when device is initialized.
This can lead to problems with link never being reported as up
if using some SFP modules where the link is instantly on.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_pmd_ixgbe/ixgbe_ethdev.c