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

/linux-master/drivers/net/ethernet/hisilicon/hns3/
H A Dhclge_mbx.h94 u8 hw_tc_map; member in struct:hclge_basic_info
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3_common/
H A Dhclge_comm_rss.h122 void hclge_comm_get_rss_tc_info(u16 rss_size, u8 hw_tc_map, u16 *tc_offset,
H A Dhclge_comm_rss.c66 void hclge_comm_get_rss_tc_info(u16 rss_size, u8 hw_tc_map, u16 *tc_offset, argument
78 tc_offset[i] = (hw_tc_map & BIT(i)) ? rss_size * i : 0;
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_main.h243 u8 hw_tc_map; member in struct:hclgevf_dev
H A Dhclgevf_main.c139 hdev->hw_tc_map = basic_info->hw_tc_map;
327 if (hdev->hw_tc_map & BIT(i))
2138 hclge_comm_get_rss_tc_info(rss_cfg->rss_size, hdev->hw_tc_map,
2381 dev_info(dev, "HW tc map: 0x%x\n", hdev->hw_tc_map);
3099 hclge_comm_get_rss_tc_info(kinfo->rss_size, hdev->hw_tc_map,
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_tm.c647 if (!(hdev->hw_tc_map & BIT(i)) || i >= tc_info->num_tc)
668 if (hdev->hw_tc_map & BIT(i) && i < tc_info->num_tc)
734 if (hdev->hw_tc_map & BIT(i) && i < kinfo->tc_info.num_tc) {
806 hdev->tm_info.pg_info[i].tc_bit_map = hdev->hw_tc_map;
1666 hdev->hw_tc_map = bit_map;
H A Dhclge_main.h898 u8 hw_tc_map; member in struct:hclge_dev
H A Dhclge_mbx.c501 basic_info->hw_tc_map |= BIT(i);
H A Dhclge_main.c1493 hnae3_set_bit(hdev->hw_tc_map, i, 1);
1891 if (hdev->hw_tc_map & BIT(i))
1924 if (hdev->hw_tc_map & BIT(i) &&
2034 if (hdev->hw_tc_map & BIT(i)) {
2064 if (!(hdev->hw_tc_map & BIT(i)))
2097 if (hdev->hw_tc_map & mask &&
2127 if (hdev->hw_tc_map & mask &&
2179 if (!(hdev->hw_tc_map & BIT(i)))
4853 if (!(hdev->hw_tc_map & BIT(i)))
11081 dev_info(dev, "HW tc map: 0x%x\n", hdev->hw_tc_map);
[all...]

Completed in 172 milliseconds