mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 01:22:07 +00:00
ixgbe: add support for QSFP PHY types in ixgbe_get_settings()
Add missing QSFP PHY types to allow for more accurate reporting of port settings. Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com> Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
9ad3d6f7eb
commit
af56b4d865
@ -225,6 +225,10 @@ static int ixgbe_get_settings(struct net_device *netdev,
|
||||
case ixgbe_phy_sfp_avago:
|
||||
case ixgbe_phy_sfp_intel:
|
||||
case ixgbe_phy_sfp_unknown:
|
||||
case ixgbe_phy_qsfp_passive_unknown:
|
||||
case ixgbe_phy_qsfp_active_unknown:
|
||||
case ixgbe_phy_qsfp_intel:
|
||||
case ixgbe_phy_qsfp_unknown:
|
||||
/* SFP+ devices, further checking needed */
|
||||
switch (adapter->hw.phy.sfp_type) {
|
||||
case ixgbe_sfp_type_da_cu:
|
||||
|
Loading…
Reference in New Issue
Block a user