> @@ -1678,6 +1679,26 @@ int ixgbe_identify_sfp_module_generic(struct ixgbe_hw 
> *hw)
>                       else
>                               hw->phy.sfp_type =
>                                       ixgbe_sfp_type_1g_bx_core1;
> +             /* Support Ethernet 10G-BX, checking the Bit Rate
> +              * Nominal Value as per SFF-8472 to be 12.5 Gb/s (67h) and
> +              * Single Mode fibre with at least 1km link length
> +              */
> +             } else if ((!comp_codes_10g) && (bitrate_nominal == 0x67) &&
> +                        (!(cable_tech & IXGBE_SFF_DA_PASSIVE_CABLE)) &&
> +                        (!(cable_tech & IXGBE_SFF_DA_ACTIVE_CABLE))) {
> +                     status = hw->phy.ops.read_i2c_eeprom(hw,
> +                                         IXGBE_SFF_SM_LENGTH,
> +                                         &sm_length);

It seems like byte 15, Length (SMF), "Link length supported for single
mode fiber, units of 100 m" should be checked here. A 255 * 100m would
be more than 1Km, the condition you say in the comment.

        Andrew

Reply via email to