Searched refs:fc_mode (Results 1 – 4 of 4) sorted by relevance
687 hdev->tm_info.fc_mode = hdev->fc_mode_last_time; in hclge_update_fc_mode_by_dcb_flag()688 } else if (hdev->tm_info.fc_mode != HCLGE_FC_PFC) { in hclge_update_fc_mode_by_dcb_flag()693 hdev->fc_mode_last_time = hdev->tm_info.fc_mode; in hclge_update_fc_mode_by_dcb_flag()694 hdev->tm_info.fc_mode = HCLGE_FC_PFC; in hclge_update_fc_mode_by_dcb_flag()701 hdev->tm_info.fc_mode = hdev->fc_mode_last_time; in hclge_update_fc_mode()705 if (hdev->tm_info.fc_mode != HCLGE_FC_PFC) { in hclge_update_fc_mode()706 hdev->fc_mode_last_time = hdev->tm_info.fc_mode; in hclge_update_fc_mode()707 hdev->tm_info.fc_mode = HCLGE_FC_PFC; in hclge_update_fc_mode()1300 if (hdev->tm_info.fc_mode == HCLGE_FC_PFC) in hclge_pfc_setup_hw()1345 switch (hdev->tm_info.fc_mode) { in hclge_mac_pause_setup_hw()[all …]
367 enum hclge_fc_mode fc_mode; member
9510 if (hdev->tm_info.fc_mode == HCLGE_FC_PFC) in hclge_cfg_pauseparam()9562 if (hdev->tm_info.fc_mode == HCLGE_FC_PFC) { in hclge_get_pauseparam()9568 if (hdev->tm_info.fc_mode == HCLGE_FC_RX_PAUSE) { in hclge_get_pauseparam()9571 } else if (hdev->tm_info.fc_mode == HCLGE_FC_TX_PAUSE) { in hclge_get_pauseparam()9574 } else if (hdev->tm_info.fc_mode == HCLGE_FC_FULL) { in hclge_get_pauseparam()9595 hdev->tm_info.fc_mode = hdev->fc_mode_last_time; in hclge_record_user_pauseparam()9615 if (hdev->tm_info.fc_mode == HCLGE_FC_PFC) { in hclge_set_pauseparam()
1673 enum i40e_fc_mode fc_mode = hw->fc.requested_mode; in i40e_set_fc_status() local1676 switch (fc_mode) { in i40e_set_fc_status()