Home
last modified time | relevance | path

Searched refs:hw_tc_map (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.h216 u8 hw_tc_map; member
292 u8 hw_tc_map; member
Dhclgevf_main.c259 hdev->hw_tc_map = resp_msg; in hclgevf_get_tc_info()
428 if (hdev->hw_tc_map & BIT(i)) in hclgevf_knic_setup()
682 tc_valid[i] = !!(hdev->hw_tc_map & BIT(i)); in hclgevf_set_rss_tc_mode()
2747 dev_info(dev, "HW tc map: 0x%x\n", hdev->hw_tc_map); in hclgevf_info_show()
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_tm.c604 if (hdev->hw_tc_map & BIT(i) && i < kinfo->num_tc) { in hclge_tm_vport_tc_info_update()
679 hdev->tm_info.pg_info[i].tc_bit_map = hdev->hw_tc_map; in hclge_tm_pg_info_init()
1042 if (!(hdev->hw_tc_map & BIT(i))) in hclge_tm_ets_tc_dwrr_cfg()
1442 hdev->hw_tc_map = bit_map; in hclge_tm_schd_info_update()
Dhclge_main.h753 u8 hw_tc_map; member
Dhclge_main.c1522 hnae3_set_bit(hdev->hw_tc_map, i, 1); in hclge_configure()
1852 if (hdev->hw_tc_map & BIT(i)) in hclge_get_tc_num()
1885 if (hdev->hw_tc_map & BIT(i) && in hclge_get_no_pfc_priv_num()
1995 if (hdev->hw_tc_map & BIT(i)) { in hclge_tx_buffer_calc()
2025 if (!(hdev->hw_tc_map & BIT(i))) in hclge_rx_buf_calc_all()
2058 if (hdev->hw_tc_map & mask && in hclge_drop_nopfc_buf_till_fit()
2088 if (hdev->hw_tc_map & mask && in hclge_drop_pfc_buf_till_fit()
2141 if (!(hdev->hw_tc_map & BIT(i))) in hclge_only_alloc_priv_buff()
4623 if (!(hdev->hw_tc_map & BIT(i))) in hclge_rss_init_hw()
9680 dev_info(dev, "HW tc map: 0x%x\n", hdev->hw_tc_map); in hclge_info_show()
[all …]