Lines Matching refs:fc_mode
820 hdev->tm_info.fc_mode = hdev->fc_mode_last_time; in hclge_update_fc_mode_by_dcb_flag()
821 } else if (hdev->tm_info.fc_mode != HCLGE_FC_PFC) { in hclge_update_fc_mode_by_dcb_flag()
826 hdev->fc_mode_last_time = hdev->tm_info.fc_mode; in hclge_update_fc_mode_by_dcb_flag()
827 hdev->tm_info.fc_mode = HCLGE_FC_PFC; in hclge_update_fc_mode_by_dcb_flag()
834 hdev->tm_info.fc_mode = hdev->fc_mode_last_time; in hclge_update_fc_mode()
838 if (hdev->tm_info.fc_mode != HCLGE_FC_PFC) { in hclge_update_fc_mode()
839 hdev->fc_mode_last_time = hdev->tm_info.fc_mode; in hclge_update_fc_mode()
840 hdev->tm_info.fc_mode = HCLGE_FC_PFC; in hclge_update_fc_mode()
1503 if (hdev->tm_info.fc_mode == HCLGE_FC_PFC) in hclge_pfc_setup_hw()
1555 switch (hdev->tm_info.fc_mode) { in hclge_mac_pause_setup_hw()
1688 hdev->tm_info.fc_mode = HCLGE_FC_FULL; in hclge_tm_schd_init()
1689 hdev->fc_mode_last_time = hdev->tm_info.fc_mode; in hclge_tm_schd_init()