Home
last modified time | relevance | path

Searched refs:tc_valid (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c4280 static int hclge_set_rss_tc_mode(struct hclge_dev *hdev, u16 *tc_valid, in hclge_set_rss_tc_mode() argument
4294 hnae3_set_bit(mode, HCLGE_RSS_TC_VALID_B, (tc_valid[i] & 0x1)); in hclge_set_rss_tc_mode()
4614 u16 tc_valid[HCLGE_MAX_TC_NUM]; in hclge_rss_init_hw() local
4646 tc_valid[i] = 0; in hclge_rss_init_hw()
4651 tc_valid[i] = 1; in hclge_rss_init_hw()
4656 return hclge_set_rss_tc_mode(hdev, tc_valid, tc_size, tc_offset); in hclge_rss_init_hw()
10715 u16 tc_valid[HCLGE_MAX_TC_NUM]; in hclge_set_channels() local
10733 tc_valid[i] = 0; in hclge_set_channels()
10738 tc_valid[i] = 1; in hclge_set_channels()
10742 ret = hclge_set_rss_tc_mode(hdev, tc_valid, tc_size, tc_offset); in hclge_set_channels()
/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c669 u16 tc_valid[HCLGEVF_MAX_TC_NUM]; in hclgevf_set_rss_tc_mode() local
682 tc_valid[i] = 1; in hclgevf_set_rss_tc_mode()
690 (tc_valid[i] & 0x1)); in hclgevf_set_rss_tc_mode()