Home
last modified time | relevance | path

Searched refs:dev_specs (Results 1 – 7 of 7) sorted by relevance

/drivers/net/ethernet/hisilicon/hns3/
Dhns3_debugfs.c889 struct hnae3_dev_specs *dev_specs = &ae_dev->dev_specs; in hns3_dbg_dev_specs() local
894 dev_specs->mac_entry_num); in hns3_dbg_dev_specs()
896 dev_specs->mng_entry_num); in hns3_dbg_dev_specs()
898 dev_specs->max_non_tso_bd_num); in hns3_dbg_dev_specs()
900 dev_specs->rss_ind_tbl_size); in hns3_dbg_dev_specs()
902 dev_specs->rss_key_size); in hns3_dbg_dev_specs()
920 dev_specs->int_ql_max); in hns3_dbg_dev_specs()
922 dev_specs->max_int_gl); in hns3_dbg_dev_specs()
924 dev_specs->max_tm_rate); in hns3_dbg_dev_specs()
926 dev_specs->max_qset_num); in hns3_dbg_dev_specs()
Dhns3_ethtool.c902 return ae_dev->dev_specs.rss_ind_tbl_size; in hns3_get_rss_indir_size()
1256 if (cmd->rx_coalesce_usecs > ae_dev->dev_specs.max_int_gl) { in hns3_check_gl_coalesce_para()
1259 ae_dev->dev_specs.max_int_gl); in hns3_check_gl_coalesce_para()
1263 if (cmd->tx_coalesce_usecs > ae_dev->dev_specs.max_int_gl) { in hns3_check_gl_coalesce_para()
1266 ae_dev->dev_specs.max_int_gl); in hns3_check_gl_coalesce_para()
1328 !ae_dev->dev_specs.int_ql_max) { in hns3_check_ql_coalesce_param()
1333 if (cmd->tx_max_coalesced_frames > ae_dev->dev_specs.int_ql_max || in hns3_check_ql_coalesce_param()
1334 cmd->rx_max_coalesced_frames > ae_dev->dev_specs.int_ql_max) { in hns3_check_ql_coalesce_param()
1337 ae_dev->dev_specs.int_ql_max); in hns3_check_ql_coalesce_param()
Dhnae3.h372 struct hnae3_dev_specs dev_specs; member
Dhns3_enet.c579 if (ae_dev->dev_specs.int_ql_max) { in hns3_vector_coalesce_init()
582 tx_coal->int_ql_max = ae_dev->dev_specs.int_ql_max; in hns3_vector_coalesce_init()
583 rx_coal->int_ql_max = ae_dev->dev_specs.int_ql_max; in hns3_vector_coalesce_init()
4541 if (ae_dev->dev_specs.int_ql_max) { in hns3_nic_init_coal_cfg()
5083 priv->max_non_tso_bd_num = ae_dev->dev_specs.max_non_tso_bd_num; in hns3_client_init()
5164 netdev->max_mtu = HNS3_MAX_MTU(ae_dev->dev_specs.max_frm_size); in hns3_client_init()
/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c664 rss_cfg_tbl_num = hdev->ae_dev->dev_specs.rss_ind_tbl_size / in hclgevf_set_rss_indir_table()
813 for (i = 0; i < hdev->ae_dev->dev_specs.rss_ind_tbl_size; i++) in hclgevf_get_rss()
872 for (i = 0; i < hdev->ae_dev->dev_specs.rss_ind_tbl_size; i++) in hclgevf_set_rss()
2621 u16 rss_ind_tbl_size = hdev->ae_dev->dev_specs.rss_ind_tbl_size; in hclgevf_rss_init_cfg()
3202 ae_dev->dev_specs.max_non_tso_bd_num = in hclgevf_set_default_dev_specs()
3204 ae_dev->dev_specs.rss_ind_tbl_size = HCLGEVF_RSS_IND_TBL_SIZE; in hclgevf_set_default_dev_specs()
3205 ae_dev->dev_specs.rss_key_size = HCLGEVF_RSS_KEY_SIZE; in hclgevf_set_default_dev_specs()
3206 ae_dev->dev_specs.max_int_gl = HCLGEVF_DEF_MAX_INT_GL; in hclgevf_set_default_dev_specs()
3207 ae_dev->dev_specs.max_frm_size = HCLGEVF_MAC_MAX_FRAME; in hclgevf_set_default_dev_specs()
3220 ae_dev->dev_specs.max_non_tso_bd_num = req0->max_non_tso_bd_num; in hclgevf_parse_dev_specs()
[all …]
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_tm.c433 hdev->ae_dev->dev_specs.max_tm_rate); in hclge_tm_port_shaper_cfg()
557 max_tx_rate = hdev->ae_dev->dev_specs.max_tm_rate; in hclge_tm_qs_shaper_cfg()
561 hdev->ae_dev->dev_specs.max_tm_rate); in hclge_tm_qs_shaper_cfg()
748 hdev->ae_dev->dev_specs.max_tm_rate; in hclge_tm_pg_info_init()
832 u32 max_tm_rate = hdev->ae_dev->dev_specs.max_tm_rate; in hclge_tm_pg_shaper_cfg()
966 u32 max_tm_rate = hdev->ae_dev->dev_specs.max_tm_rate; in hclge_tm_pri_tc_base_shaper_cfg()
1011 hdev->ae_dev->dev_specs.max_tm_rate); in hclge_tm_pri_vnet_base_shaper_pri_cfg()
1041 u32 max_tm_rate = hdev->ae_dev->dev_specs.max_tm_rate; in hclge_tm_pri_vnet_base_shaper_qs_cfg()
Dhclge_main.c1416 ae_dev->dev_specs.max_non_tso_bd_num = HCLGE_MAX_NON_TSO_BD_NUM; in hclge_set_default_dev_specs()
1417 ae_dev->dev_specs.rss_ind_tbl_size = HCLGE_RSS_IND_TBL_SIZE; in hclge_set_default_dev_specs()
1418 ae_dev->dev_specs.rss_key_size = HCLGE_RSS_KEY_SIZE; in hclge_set_default_dev_specs()
1419 ae_dev->dev_specs.max_tm_rate = HCLGE_ETHER_MAX_RATE; in hclge_set_default_dev_specs()
1420 ae_dev->dev_specs.max_int_gl = HCLGE_DEF_MAX_INT_GL; in hclge_set_default_dev_specs()
1421 ae_dev->dev_specs.max_frm_size = HCLGE_MAC_MAX_FRAME; in hclge_set_default_dev_specs()
1422 ae_dev->dev_specs.max_qset_num = HCLGE_MAX_QSET_NUM; in hclge_set_default_dev_specs()
1435 ae_dev->dev_specs.max_non_tso_bd_num = req0->max_non_tso_bd_num; in hclge_parse_dev_specs()
1436 ae_dev->dev_specs.rss_ind_tbl_size = in hclge_parse_dev_specs()
1438 ae_dev->dev_specs.int_ql_max = le16_to_cpu(req0->int_ql_max); in hclge_parse_dev_specs()
[all …]