Lines Matching refs:prio_tc
39 hclge_tm_prio_tc_info_update(hdev, ets->prio_tc); in hclge_ieee_ets_to_tm_info()
54 ets->prio_tc[i] = hdev->tm_info.prio_tc[i]; in hclge_tm_info_to_ieee_ets()
80 u8 *prio_tc) in hclge_dcb_common_validate() argument
92 if (prio_tc[i] >= num_tc) { in hclge_dcb_common_validate()
95 i, prio_tc[i], num_tc); in hclge_dcb_common_validate()
117 if (ets->prio_tc[i] != hdev->tm_info.prio_tc[i]) in hclge_ets_tc_changed()
120 if (ets->prio_tc[i] > max_tc_id) in hclge_ets_tc_changed()
121 max_tc_id = ets->prio_tc[i]; in hclge_ets_tc_changed()
186 ret = hclge_dcb_common_validate(hdev, tc_num, ets->prio_tc); in hclge_ets_validate()
331 u8 i, j, pfc_map, *prio_tc; in hclge_ieee_setpfc() local
341 prio_tc = hdev->tm_info.prio_tc; in hclge_ieee_setpfc()
346 if ((prio_tc[j] == i) && (pfc->pfc_en & BIT(j))) { in hclge_ieee_setpfc()
573 memcpy(tc_info->prio_tc, mqprio_qopt->qopt.prio_tc_map, in hclge_sync_mqprio_qopt()
574 sizeof_field(struct hnae3_tc_info, prio_tc)); in hclge_sync_mqprio_qopt()
588 hdev->tm_info.prio_tc[i] = tc_info->prio_tc[i]; in hclge_config_tc()