Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_tm.c820 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()
[all …]
Dhclge_main.h361 enum hclge_fc_mode fc_mode; member
Dhclge_main.c10905 if (hdev->tm_info.fc_mode == HCLGE_FC_PFC) in hclge_cfg_pauseparam()
10958 if (hdev->tm_info.fc_mode == HCLGE_FC_PFC) { in hclge_get_pauseparam()
10964 if (hdev->tm_info.fc_mode == HCLGE_FC_RX_PAUSE) { in hclge_get_pauseparam()
10967 } else if (hdev->tm_info.fc_mode == HCLGE_FC_TX_PAUSE) { in hclge_get_pauseparam()
10970 } else if (hdev->tm_info.fc_mode == HCLGE_FC_FULL) { in hclge_get_pauseparam()
10991 hdev->tm_info.fc_mode = hdev->fc_mode_last_time; in hclge_record_user_pauseparam()
11011 if (hdev->tm_info.fc_mode == HCLGE_FC_PFC) { in hclge_set_pauseparam()
/linux-6.1.9/arch/mips/include/asm/sgi/
Dheart.h90 u64 fc_mode; /* + 0x00040 */ member
/linux-6.1.9/net/ncsi/
Dncsi-pkt.h241 unsigned char fc_mode; /* Flow control mode */ member
Dncsi-rsp.c907 nc->modes[NCSI_MODE_FC].data[0] = rsp->fc_mode; in ncsi_rsp_handler_gp()
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_common.c1563 enum i40e_fc_mode fc_mode = hw->fc.requested_mode; in i40e_set_fc_status() local
1566 switch (fc_mode) { in i40e_set_fc_status()