ixgbe: fix link status interrupt of bypass device
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Tue, 10 Jun 2014 21:33:27 +0000 (22:33 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 17 Jun 2014 09:51:41 +0000 (11:51 +0200)
commit60a70d4e042350ca0f9200334b341063438be89b
treeda3b9c2fb758f202a515cc16f89fcc1d8051157a
parent70bdb18657da9dc7d3a71fe9ac3522c7640fa629
ixgbe: fix link status interrupt of bypass device

Function ixgbe_get_media_type_82599 returns media_type =
ixgbe_media_type_unknown, when using an 82599 Bypass NIC,
so that causes link status interrupt not to work properly.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_pmd_ixgbe/ixgbe/ixgbe_82599.c