ixgbe: update X550 SFP identification
Use ixgbe_identify_sfp_module_X550em to update SFP identification flow. ixgbe_identify_sfp_module_X550em includes specific checks for X550 about supported SFP modules. Signed-off-by: Xiaoyun Li <xiaoyun.li@intel.com> Acked-by: Qi Zhang <qi.z.zhang@intel.com> Approved by: imp Obtained from: DPDK (175bedb0cc8f801be3050fa35b8d8d0971cea7cc) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D31621
This commit is contained in:
parent
8455e365f7
commit
0a4f0befab
@ -351,7 +351,7 @@ static s32 ixgbe_identify_phy_x550em(struct ixgbe_hw *hw)
|
||||
|
||||
switch (hw->device_id) {
|
||||
case IXGBE_DEV_ID_X550EM_A_SFP:
|
||||
return ixgbe_identify_module_generic(hw);
|
||||
return ixgbe_identify_sfp_module_X550em(hw);
|
||||
case IXGBE_DEV_ID_X550EM_X_SFP:
|
||||
/* set up for CS4227 usage */
|
||||
ixgbe_setup_mux_ctl(hw);
|
||||
@ -359,7 +359,7 @@ static s32 ixgbe_identify_phy_x550em(struct ixgbe_hw *hw)
|
||||
/* Fallthrough */
|
||||
|
||||
case IXGBE_DEV_ID_X550EM_A_SFP_N:
|
||||
return ixgbe_identify_module_generic(hw);
|
||||
return ixgbe_identify_sfp_module_X550em(hw);
|
||||
break;
|
||||
case IXGBE_DEV_ID_X550EM_X_KX4:
|
||||
hw->phy.type = ixgbe_phy_x550em_kx4;
|
||||
|
Loading…
Reference in New Issue
Block a user