Searched refs:hw_tc_map (Results 1 – 9 of 9) sorted by relevance
/drivers/net/ethernet/hisilicon/hns3/hns3_common/ |
D | hclge_comm_rss.h | 122 void hclge_comm_get_rss_tc_info(u16 rss_size, u8 hw_tc_map, u16 *tc_offset,
|
D | hclge_comm_rss.c | 66 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()
|
/drivers/net/ethernet/hisilicon/hns3/ |
D | hclge_mbx.h | 94 u8 hw_tc_map; member
|
/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_main.h | 243 u8 hw_tc_map; member
|
D | hclgevf_main.c | 139 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() 2139 hclge_comm_get_rss_tc_info(rss_cfg->rss_size, hdev->hw_tc_map, in hclgevf_rss_init_hw() 2381 dev_info(dev, "HW tc map: 0x%x\n", hdev->hw_tc_map); in hclgevf_info_show() 3097 hclge_comm_get_rss_tc_info(kinfo->rss_size, hdev->hw_tc_map, in hclgevf_set_channels()
|
/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_tm.c | 647 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()
|
D | hclge_main.h | 885 u8 hw_tc_map; member
|
D | hclge_main.c | 1482 hnae3_set_bit(hdev->hw_tc_map, i, 1); in hclge_init_tc_config() 1884 if (hdev->hw_tc_map & BIT(i)) in hclge_get_tc_num() 1917 if (hdev->hw_tc_map & BIT(i) && in hclge_get_no_pfc_priv_num() 2027 if (hdev->hw_tc_map & BIT(i)) { in hclge_tx_buffer_calc() 2057 if (!(hdev->hw_tc_map & BIT(i))) in hclge_rx_buf_calc_all() 2090 if (hdev->hw_tc_map & mask && in hclge_drop_nopfc_buf_till_fit() 2120 if (hdev->hw_tc_map & mask && in hclge_drop_pfc_buf_till_fit() 2172 if (!(hdev->hw_tc_map & BIT(i))) in hclge_only_alloc_priv_buff() 4863 if (!(hdev->hw_tc_map & BIT(i))) in hclge_init_rss_tc_mode() 11095 dev_info(dev, "HW tc map: 0x%x\n", hdev->hw_tc_map); in hclge_info_show() [all …]
|
D | hclge_mbx.c | 501 basic_info->hw_tc_map |= BIT(i); in hclge_get_basic_info()
|