Lines Matching refs:tm_info
1534 hdev->tm_info.num_tc = 1; in hclge_init_tc_config()
1537 for (i = 0; i < hdev->tm_info.num_tc; i++) in hclge_init_tc_config()
1562 hdev->tm_info.num_pg = 1; in hclge_configure()
1564 hdev->tm_info.hw_pfc_map = 0; in hclge_configure()
1730 vport->alloc_tqps / hdev->tm_info.num_tc); in hclge_assign_tqp()
1734 (hdev->num_nic_msi - 1) / hdev->tm_info.num_tc); in hclge_assign_tqp()
1955 if ((hdev->tm_info.hw_pfc_map & BIT(i)) && in hclge_get_pfc_priv_num()
1974 !(hdev->tm_info.hw_pfc_map & BIT(i)) && in hclge_get_no_pfc_priv_num()
2118 if (hdev->tm_info.hw_pfc_map & BIT(i)) { in hclge_rx_buf_calc_all()
2147 !(hdev->tm_info.hw_pfc_map & mask)) { in hclge_drop_nopfc_buf_till_fit()
2177 hdev->tm_info.hw_pfc_map & mask) { in hclge_drop_pfc_buf_till_fit()
10955 if (hdev->tm_info.fc_mode == HCLGE_FC_PFC) in hclge_cfg_pauseparam()
11011 if (hdev->tm_info.fc_mode == HCLGE_FC_PFC) { in hclge_get_pauseparam()
11017 if (hdev->tm_info.fc_mode == HCLGE_FC_RX_PAUSE) { in hclge_get_pauseparam()
11020 } else if (hdev->tm_info.fc_mode == HCLGE_FC_TX_PAUSE) { in hclge_get_pauseparam()
11023 } else if (hdev->tm_info.fc_mode == HCLGE_FC_FULL) { in hclge_get_pauseparam()
11044 hdev->tm_info.fc_mode = hdev->fc_mode_last_time; in hclge_record_user_pauseparam()
11064 if (hdev->tm_info.fc_mode == HCLGE_FC_PFC) { in hclge_set_pauseparam()