Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_tm.c817 if (hdev->fc_mode_last_time == HCLGE_FC_PFC) in hclge_update_fc_mode_by_dcb_flag()
821 hdev->tm_info.fc_mode = hdev->fc_mode_last_time; 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()
835 hdev->tm_info.fc_mode = hdev->fc_mode_last_time; in hclge_update_fc_mode()
840 hdev->fc_mode_last_time = hdev->tm_info.fc_mode; in hclge_update_fc_mode()
1694 hdev->fc_mode_last_time = hdev->tm_info.fc_mode; in hclge_tm_schd_init()
H A Dhclge_main.h886 enum hclge_fc_mode fc_mode_last_time; member
H A Dhclge_main.c3133 switch (hdev->fc_mode_last_time) { in hclge_update_pause_advertising()
10951 hdev->fc_mode_last_time = HCLGE_FC_FULL; in hclge_record_user_pauseparam()
10953 hdev->fc_mode_last_time = HCLGE_FC_RX_PAUSE; in hclge_record_user_pauseparam()
10955 hdev->fc_mode_last_time = HCLGE_FC_TX_PAUSE; in hclge_record_user_pauseparam()
10957 hdev->fc_mode_last_time = HCLGE_FC_NONE; in hclge_record_user_pauseparam()
10959 hdev->tm_info.fc_mode = hdev->fc_mode_last_time; in hclge_record_user_pauseparam()