Searched refs:hw_link_info (Results 1 – 5 of 5) sorted by relevance
1373 struct ice_link_status *hw_link_info; in ice_phy_type_to_ethtool() local1379 hw_link_info = &vsi->port_info->phy.link_info; in ice_phy_type_to_ethtool()1390 if (!hw_link_info->req_speeds || in ice_phy_type_to_ethtool()1391 hw_link_info->req_speeds & ICE_AQ_LINK_SPEED_100MB) in ice_phy_type_to_ethtool()1399 if (!hw_link_info->req_speeds || in ice_phy_type_to_ethtool()1400 hw_link_info->req_speeds & ICE_AQ_LINK_SPEED_1000MB) in ice_phy_type_to_ethtool()1407 if (!hw_link_info->req_speeds || in ice_phy_type_to_ethtool()1408 hw_link_info->req_speeds & ICE_AQ_LINK_SPEED_1000MB) in ice_phy_type_to_ethtool()1416 if (!hw_link_info->req_speeds || in ice_phy_type_to_ethtool()1417 hw_link_info->req_speeds & ICE_AQ_LINK_SPEED_1000MB) in ice_phy_type_to_ethtool()[all …]
179 struct ice_link_status *hw_link_info; in ice_get_media_type() local184 hw_link_info = &pi->phy.link_info; in ice_get_media_type()185 if (hw_link_info->phy_type_low && hw_link_info->phy_type_high) in ice_get_media_type()189 if (hw_link_info->phy_type_low) { in ice_get_media_type()190 switch (hw_link_info->phy_type_low) { in ice_get_media_type()245 switch (hw_link_info->phy_type_high) { in ice_get_media_type()
474 struct i40e_link_status *hw_link_info = &pf->hw.phy.link_info; in i40e_phy_type_to_ethtool() local483 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_1GB) in i40e_phy_type_to_ethtool()500 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_10GB) in i40e_phy_type_to_ethtool()507 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_10GB) in i40e_phy_type_to_ethtool()514 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_2_5GB) in i40e_phy_type_to_ethtool()521 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_5GB) in i40e_phy_type_to_ethtool()534 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_40GB) in i40e_phy_type_to_ethtool()541 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_100MB) in i40e_phy_type_to_ethtool()548 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_1GB) in i40e_phy_type_to_ethtool()573 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_20GB) in i40e_phy_type_to_ethtool()[all …]
456 struct i40e_link_status *hw_link_info; in i40e_ptp_set_increment() local461 hw_link_info = &hw->phy.link_info; in i40e_ptp_set_increment()465 switch (hw_link_info->link_speed) { in i40e_ptp_set_increment()
1818 struct i40e_link_status *hw_link_info = &hw->phy.link_info; in i40e_aq_get_link_info() local1837 hw->phy.link_info_old = *hw_link_info; in i40e_aq_get_link_info()1840 hw_link_info->phy_type = (enum i40e_aq_phy_type)resp->phy_type; in i40e_aq_get_link_info()1842 hw_link_info->link_speed = (enum i40e_aq_link_speed)resp->link_speed; in i40e_aq_get_link_info()1843 hw_link_info->link_info = resp->link_info; in i40e_aq_get_link_info()1844 hw_link_info->an_info = resp->an_info; in i40e_aq_get_link_info()1845 hw_link_info->fec_info = resp->config & (I40E_AQ_CONFIG_FEC_KR_ENA | in i40e_aq_get_link_info()1847 hw_link_info->ext_info = resp->ext_info; in i40e_aq_get_link_info()1848 hw_link_info->loopback = resp->loopback & I40E_AQ_LOOPBACK_MASK; in i40e_aq_get_link_info()1849 hw_link_info->max_frame_size = le16_to_cpu(resp->max_frame_size); in i40e_aq_get_link_info()[all …]