Home
last modified time | relevance | path

Searched refs:hw_link_info (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c259 struct i40e_link_status *hw_link_info = &hw->phy.link_info; in i40e_get_settings_link_up() local
260 u32 link_speed = hw_link_info->link_speed; in i40e_get_settings_link_up()
263 switch (hw_link_info->phy_type) { in i40e_get_settings_link_up()
287 if (hw_link_info->module_type[2] & in i40e_get_settings_link_up()
289 hw_link_info->module_type[2] & in i40e_get_settings_link_up()
292 if (hw_link_info->requested_speeds & in i40e_get_settings_link_up()
296 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_10GB) in i40e_get_settings_link_up()
305 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_10GB) in i40e_get_settings_link_up()
307 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_1GB) in i40e_get_settings_link_up()
319 if (hw_link_info->requested_speeds & I40E_LINK_SPEED_100MB) in i40e_get_settings_link_up()
[all …]
Di40e_ptp.c380 struct i40e_link_status *hw_link_info; in i40e_ptp_set_increment() local
384 hw_link_info = &hw->phy.link_info; in i40e_ptp_set_increment()
388 switch (hw_link_info->link_speed) { in i40e_ptp_set_increment()
Di40e_common.c1801 struct i40e_link_status *hw_link_info = &hw->phy.link_info; in i40e_aq_get_link_info() local
1820 hw->phy.link_info_old = *hw_link_info; in i40e_aq_get_link_info()
1823 hw_link_info->phy_type = (enum i40e_aq_phy_type)resp->phy_type; in i40e_aq_get_link_info()
1825 hw_link_info->link_speed = (enum i40e_aq_link_speed)resp->link_speed; in i40e_aq_get_link_info()
1826 hw_link_info->link_info = resp->link_info; in i40e_aq_get_link_info()
1827 hw_link_info->an_info = resp->an_info; in i40e_aq_get_link_info()
1828 hw_link_info->ext_info = resp->ext_info; in i40e_aq_get_link_info()
1829 hw_link_info->loopback = resp->loopback; in i40e_aq_get_link_info()
1830 hw_link_info->max_frame_size = le16_to_cpu(resp->max_frame_size); in i40e_aq_get_link_info()
1831 hw_link_info->pacing = resp->config & I40E_AQ_CONFIG_PACING_MASK; in i40e_aq_get_link_info()
[all …]