Home
last modified time | relevance | path

Searched refs:fc_mode (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_tm.c821 hdev->tm_info.fc_mode = hdev->fc_mode_last_time; in hclge_update_fc_mode_by_dcb_flag()
822 } else if (hdev->tm_info.fc_mode != HCLGE_FC_PFC) { in hclge_update_fc_mode_by_dcb_flag()
827 hdev->fc_mode_last_time = hdev->tm_info.fc_mode; in hclge_update_fc_mode_by_dcb_flag()
828 hdev->tm_info.fc_mode = HCLGE_FC_PFC; in hclge_update_fc_mode_by_dcb_flag()
835 hdev->tm_info.fc_mode = hdev->fc_mode_last_time; in hclge_update_fc_mode()
839 if (hdev->tm_info.fc_mode != HCLGE_FC_PFC) { in hclge_update_fc_mode()
840 hdev->fc_mode_last_time = hdev->tm_info.fc_mode; in hclge_update_fc_mode()
841 hdev->tm_info.fc_mode = HCLGE_FC_PFC; in hclge_update_fc_mode()
1508 if (hdev->tm_info.fc_mode == HCLGE_FC_PFC) in hclge_pfc_setup_hw()
1560 switch (hdev->tm_info.fc_mode) { in hclge_mac_pause_setup_hw()
[all …]
Dhclge_main.h372 enum hclge_fc_mode fc_mode; member
Dhclge_main.c10870 if (hdev->tm_info.fc_mode == HCLGE_FC_PFC) in hclge_cfg_pauseparam()
10926 if (hdev->tm_info.fc_mode == HCLGE_FC_PFC) { in hclge_get_pauseparam()
10932 if (hdev->tm_info.fc_mode == HCLGE_FC_RX_PAUSE) { in hclge_get_pauseparam()
10935 } else if (hdev->tm_info.fc_mode == HCLGE_FC_TX_PAUSE) { in hclge_get_pauseparam()
10938 } else if (hdev->tm_info.fc_mode == HCLGE_FC_FULL) { in hclge_get_pauseparam()
10959 hdev->tm_info.fc_mode = hdev->fc_mode_last_time; in hclge_record_user_pauseparam()
10979 if (hdev->tm_info.fc_mode == HCLGE_FC_PFC) { in hclge_set_pauseparam()
/drivers/net/ethernet/intel/i40e/
Di40e_common.c1421 enum i40e_fc_mode fc_mode = hw->fc.requested_mode; in i40e_set_fc_status() local
1424 switch (fc_mode) { in i40e_set_fc_status()