Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3_common/
Dhclge_comm_rss.h122 void hclge_comm_get_rss_tc_info(u16 rss_size, u8 hw_tc_map, u16 *tc_offset,
Dhclge_comm_rss.c67 void hclge_comm_get_rss_tc_info(u16 rss_size, u8 hw_tc_map, u16 *tc_offset, in hclge_comm_get_rss_tc_info() argument
79 tc_offset[i] = (hw_tc_map & BIT(i)) ? rss_size * i : 0; in hclge_comm_get_rss_tc_info()
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/
Dhclge_mbx.h94 u8 hw_tc_map; member
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.h243 u8 hw_tc_map; member
Dhclgevf_main.c176 hdev->hw_tc_map = basic_info->hw_tc_map; in hclgevf_get_basic_info()
364 if (hdev->hw_tc_map & BIT(i)) in hclgevf_knic_setup()
2176 hclge_comm_get_rss_tc_info(rss_cfg->rss_size, hdev->hw_tc_map, in hclgevf_rss_init_hw()
2418 dev_info(dev, "HW tc map: 0x%x\n", hdev->hw_tc_map); in hclgevf_info_show()
3137 hclge_comm_get_rss_tc_info(kinfo->rss_size, hdev->hw_tc_map, in hclgevf_set_channels()
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_tm.c647 if (!(hdev->hw_tc_map & BIT(i)) || i >= tc_info->num_tc) in hclge_vport_get_max_rss_size()
668 if (hdev->hw_tc_map & BIT(i) && i < tc_info->num_tc) in hclge_vport_get_tqp_num()
734 if (hdev->hw_tc_map & BIT(i) && i < kinfo->tc_info.num_tc) { in hclge_tm_vport_tc_info_update()
806 hdev->tm_info.pg_info[i].tc_bit_map = hdev->hw_tc_map; in hclge_tm_pg_info_init()
1666 hdev->hw_tc_map = bit_map; in hclge_tm_schd_info_update()
Dhclge_main.h903 u8 hw_tc_map; member
Dhclge_main.c1538 hnae3_set_bit(hdev->hw_tc_map, i, 1); in hclge_init_tc_config()
1940 if (hdev->hw_tc_map & BIT(i)) in hclge_get_tc_num()
1973 if (hdev->hw_tc_map & BIT(i) && in hclge_get_no_pfc_priv_num()
2083 if (hdev->hw_tc_map & BIT(i)) { in hclge_tx_buffer_calc()
2113 if (!(hdev->hw_tc_map & BIT(i))) in hclge_rx_buf_calc_all()
2146 if (hdev->hw_tc_map & mask && in hclge_drop_nopfc_buf_till_fit()
2176 if (hdev->hw_tc_map & mask && in hclge_drop_pfc_buf_till_fit()
2228 if (!(hdev->hw_tc_map & BIT(i))) in hclge_only_alloc_priv_buff()
4920 if (!(hdev->hw_tc_map & BIT(i))) in hclge_init_rss_tc_mode()
11180 dev_info(dev, "HW tc map: 0x%x\n", hdev->hw_tc_map); in hclge_info_show()
[all …]
Dhclge_mbx.c501 basic_info->hw_tc_map |= BIT(i); in hclge_get_basic_info()