Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/hisilicon/hns3/
A Dhns3_debugfs.c1011 struct hnae3_dev_specs *dev_specs = &ae_dev->dev_specs; in hns3_dbg_dev_specs() local
1016 dev_specs->mac_entry_num); in hns3_dbg_dev_specs()
1018 dev_specs->mng_entry_num); in hns3_dbg_dev_specs()
1024 dev_specs->rss_key_size); in hns3_dbg_dev_specs()
1042 dev_specs->int_ql_max); in hns3_dbg_dev_specs()
1044 dev_specs->max_int_gl); in hns3_dbg_dev_specs()
1046 dev_specs->max_tm_rate); in hns3_dbg_dev_specs()
1048 dev_specs->max_qset_num); in hns3_dbg_dev_specs()
1050 dev_specs->umv_size); in hns3_dbg_dev_specs()
1052 dev_specs->mc_mac_size); in hns3_dbg_dev_specs()
[all …]
A 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()
A Dhnae3.h381 struct hnae3_dev_specs dev_specs; member
A 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()
4562 if (ae_dev->dev_specs.int_ql_max) { in hns3_nic_init_coal_cfg()
5093 priv->max_non_tso_bd_num = ae_dev->dev_specs.max_non_tso_bd_num; in hns3_client_init()
5174 netdev->max_mtu = HNS3_MAX_MTU(ae_dev->dev_specs.max_frm_size); in hns3_client_init()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/
A Dhclgevf_main.c3179 ae_dev->dev_specs.max_non_tso_bd_num = in hclgevf_set_default_dev_specs()
3198 ae_dev->dev_specs.rss_ind_tbl_size = in hclgevf_parse_dev_specs()
3208 struct hnae3_dev_specs *dev_specs = &hdev->ae_dev->dev_specs; in hclgevf_check_dev_specs() local
3210 if (!dev_specs->max_non_tso_bd_num) in hclgevf_check_dev_specs()
3212 if (!dev_specs->rss_ind_tbl_size) in hclgevf_check_dev_specs()
3214 if (!dev_specs->rss_key_size) in hclgevf_check_dev_specs()
3215 dev_specs->rss_key_size = HCLGEVF_RSS_KEY_SIZE; in hclgevf_check_dev_specs()
3216 if (!dev_specs->max_int_gl) in hclgevf_check_dev_specs()
3217 dev_specs->max_int_gl = HCLGEVF_DEF_MAX_INT_GL; in hclgevf_check_dev_specs()
3218 if (!dev_specs->max_frm_size) in hclgevf_check_dev_specs()
[all …]
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_main.c601 if (hdev->ae_dev->dev_specs.mac_stats_num) in hclge_mac_update_stats()
1502 ae_dev->dev_specs.rss_ind_tbl_size = in hclge_parse_dev_specs()
1516 struct hnae3_dev_specs *dev_specs = &hdev->ae_dev->dev_specs; in hclge_check_dev_specs() local
1518 if (!dev_specs->max_non_tso_bd_num) in hclge_check_dev_specs()
1520 if (!dev_specs->rss_ind_tbl_size) in hclge_check_dev_specs()
1522 if (!dev_specs->rss_key_size) in hclge_check_dev_specs()
1524 if (!dev_specs->max_tm_rate) in hclge_check_dev_specs()
1526 if (!dev_specs->max_qset_num) in hclge_check_dev_specs()
1528 if (!dev_specs->max_int_gl) in hclge_check_dev_specs()
1530 if (!dev_specs->max_frm_size) in hclge_check_dev_specs()
[all …]
A 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()
747 hdev->ae_dev->dev_specs.max_tm_rate; in hclge_tm_pg_info_init()
831 u32 max_tm_rate = hdev->ae_dev->dev_specs.max_tm_rate; in hclge_tm_pg_shaper_cfg()
965 u32 max_tm_rate = hdev->ae_dev->dev_specs.max_tm_rate; in hclge_tm_pri_tc_base_shaper_cfg()
1010 hdev->ae_dev->dev_specs.max_tm_rate); in hclge_tm_pri_vnet_base_shaper_pri_cfg()
1040 u32 max_tm_rate = hdev->ae_dev->dev_specs.max_tm_rate; in hclge_tm_pri_vnet_base_shaper_qs_cfg()

Completed in 77 milliseconds