Home
last modified time | relevance | path

Searched refs:rss_ind_tbl_size (Results 1 – 10 of 10) sorted by relevance

/drivers/net/ethernet/hisilicon/hns3/hns3_common/
Dhclge_comm_rss.c38 u16 rss_ind_tbl_size = ae_dev->dev_specs.rss_ind_tbl_size; in hclge_comm_rss_init_cfg() local
52 rss_ind_tbl = devm_kcalloc(&ae_dev->pdev->dev, rss_ind_tbl_size, in hclge_comm_rss_init_cfg()
217 for (i = 0; i < ae_dev->dev_specs.rss_ind_tbl_size; i++) in hclge_comm_rss_indir_init_cfg()
280 rss_cfg_tbl_num = ae_dev->dev_specs.rss_ind_tbl_size / in hclge_comm_set_rss_indir_table()
360 u32 *indir, u16 rss_ind_tbl_size) in hclge_comm_get_rss_indir_tbl() argument
367 for (i = 0; i < rss_ind_tbl_size; i++) in hclge_comm_get_rss_indir_tbl()
Dhclge_comm_rss.h107 u32 *indir, u16 rss_ind_tbl_size);
/drivers/net/ethernet/cavium/thunder/
Dnic_main.c31 u16 rss_ind_tbl_size; member
371 hw->rss_ind_tbl_size = NIC_MAX_RSS_IDR_TBL_SIZE; in nic_get_hw_info()
385 hw->rss_ind_tbl_size = 32; /* Max RSSI / Max interfaces */ in nic_get_hw_info()
398 hw->rss_ind_tbl_size = 64; /* Max RSSI / Max interfaces */ in nic_get_hw_info()
486 rssi_base = vnic * hw->rss_ind_tbl_size; in nic_config_cpi()
555 mbx.rss_size.ind_tbl_size = nic->hw->rss_ind_tbl_size; in nic_send_rss_size()
/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_cmd.h118 __le16 rss_ind_tbl_size; member
Dhclgevf_main.c545 hdev->ae_dev->dev_specs.rss_ind_tbl_size); in hclgevf_get_rss()
565 for (i = 0; i < hdev->ae_dev->dev_specs.rss_ind_tbl_size; i++) in hclgevf_set_rss()
2658 ae_dev->dev_specs.rss_ind_tbl_size = HCLGEVF_RSS_IND_TBL_SIZE; in hclgevf_set_default_dev_specs()
2675 ae_dev->dev_specs.rss_ind_tbl_size = in hclgevf_parse_dev_specs()
2676 le16_to_cpu(req0->rss_ind_tbl_size); in hclgevf_parse_dev_specs()
2689 if (!dev_specs->rss_ind_tbl_size) in hclgevf_check_dev_specs()
2690 dev_specs->rss_ind_tbl_size = HCLGEVF_RSS_IND_TBL_SIZE; in hclgevf_check_dev_specs()
3109 rss_indir = kcalloc(hdev->ae_dev->dev_specs.rss_ind_tbl_size, in hclgevf_set_channels()
3114 for (i = 0; i < hdev->ae_dev->dev_specs.rss_ind_tbl_size; i++) in hclgevf_set_channels()
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_cmd.h812 __le16 rss_ind_tbl_size; member
Dhclge_main.c1323 ae_dev->dev_specs.rss_ind_tbl_size = HCLGE_RSS_IND_TBL_SIZE; in hclge_set_default_dev_specs()
1344 ae_dev->dev_specs.rss_ind_tbl_size = in hclge_parse_dev_specs()
1345 le16_to_cpu(req0->rss_ind_tbl_size); in hclge_parse_dev_specs()
1363 if (!dev_specs->rss_ind_tbl_size) in hclge_check_dev_specs()
1364 dev_specs->rss_ind_tbl_size = HCLGE_RSS_IND_TBL_SIZE; in hclge_check_dev_specs()
4772 ae_dev->dev_specs.rss_ind_tbl_size); in hclge_get_rss()
4793 for (i = 0; i < ae_dev->dev_specs.rss_ind_tbl_size; i++) in hclge_set_rss()
4870 if (rss_size > ae_dev->dev_specs.rss_ind_tbl_size || in hclge_init_rss_tc_mode()
12327 rss_indir = kcalloc(ae_dev->dev_specs.rss_ind_tbl_size, sizeof(u32), in hclge_set_channels()
12332 for (i = 0; i < ae_dev->dev_specs.rss_ind_tbl_size; i++) in hclge_set_channels()
/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h375 u16 rss_ind_tbl_size; member
Dhns3_debugfs.c1061 dev_specs->rss_ind_tbl_size); in hns3_dbg_dev_specs()
Dhns3_ethtool.c956 return ae_dev->dev_specs.rss_ind_tbl_size; in hns3_get_rss_indir_size()