Home
last modified time | relevance | path

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

/Linux-v6.6/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.c66 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
78 tc_offset[i] = (hw_tc_map & BIT(i)) ? rss_size * i : 0; in hclge_comm_get_rss_tc_info()
/Linux-v6.6/drivers/net/ethernet/hisilicon/hns3/
Dhclge_mbx.h94 u8 hw_tc_map; member
/Linux-v6.6/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.h242 u8 hw_tc_map; member
Dhclgevf_main.c139 hdev->hw_tc_map = basic_info->hw_tc_map; in hclgevf_get_basic_info()
327 if (hdev->hw_tc_map & BIT(i)) in hclgevf_knic_setup()
2120 hclge_comm_get_rss_tc_info(rss_cfg->rss_size, hdev->hw_tc_map, in hclgevf_rss_init_hw()
2363 dev_info(dev, "HW tc map: 0x%x\n", hdev->hw_tc_map); in hclgevf_info_show()
3080 hclge_comm_get_rss_tc_info(kinfo->rss_size, hdev->hw_tc_map, in hclgevf_set_channels()
/Linux-v6.6/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.h882 u8 hw_tc_map; member
Dhclge_main.c1481 hnae3_set_bit(hdev->hw_tc_map, i, 1); in hclge_init_tc_config()
1879 if (hdev->hw_tc_map & BIT(i)) in hclge_get_tc_num()
1912 if (hdev->hw_tc_map & BIT(i) && in hclge_get_no_pfc_priv_num()
2022 if (hdev->hw_tc_map & BIT(i)) { in hclge_tx_buffer_calc()
2052 if (!(hdev->hw_tc_map & BIT(i))) in hclge_rx_buf_calc_all()
2085 if (hdev->hw_tc_map & mask && in hclge_drop_nopfc_buf_till_fit()
2115 if (hdev->hw_tc_map & mask && in hclge_drop_pfc_buf_till_fit()
2167 if (!(hdev->hw_tc_map & BIT(i))) in hclge_only_alloc_priv_buff()
4834 if (!(hdev->hw_tc_map & BIT(i))) in hclge_init_rss_tc_mode()
11050 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()