Searched refs:dev_specs (Results 1 – 9 of 9) sorted by relevance
1049 struct hnae3_dev_specs *dev_specs = &ae_dev->dev_specs; in hns3_dbg_dev_specs() local1055 dev_specs->mac_entry_num); in hns3_dbg_dev_specs()1057 dev_specs->mng_entry_num); in hns3_dbg_dev_specs()1059 dev_specs->max_non_tso_bd_num); in hns3_dbg_dev_specs()1061 dev_specs->rss_ind_tbl_size); in hns3_dbg_dev_specs()1063 dev_specs->rss_key_size); in hns3_dbg_dev_specs()1081 dev_specs->int_ql_max); in hns3_dbg_dev_specs()1083 dev_specs->max_int_gl); in hns3_dbg_dev_specs()1085 dev_specs->max_tm_rate); in hns3_dbg_dev_specs()1087 dev_specs->max_qset_num); in hns3_dbg_dev_specs()[all …]
956 return ae_dev->dev_specs.rss_ind_tbl_size; in hns3_get_rss_indir_size()1397 if (cmd->rx_coalesce_usecs > ae_dev->dev_specs.max_int_gl) { in hns3_check_gl_coalesce_para()1400 ae_dev->dev_specs.max_int_gl); in hns3_check_gl_coalesce_para()1404 if (cmd->tx_coalesce_usecs > ae_dev->dev_specs.max_int_gl) { in hns3_check_gl_coalesce_para()1407 ae_dev->dev_specs.max_int_gl); in hns3_check_gl_coalesce_para()1469 !ae_dev->dev_specs.int_ql_max) { in hns3_check_ql_coalesce_param()1474 if (cmd->tx_max_coalesced_frames > ae_dev->dev_specs.int_ql_max || in hns3_check_ql_coalesce_param()1475 cmd->rx_max_coalesced_frames > ae_dev->dev_specs.int_ql_max) { in hns3_check_ql_coalesce_param()1478 ae_dev->dev_specs.int_ql_max); in hns3_check_ql_coalesce_param()
414 struct hnae3_dev_specs dev_specs; member
579 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()4768 if (ae_dev->dev_specs.int_ql_max) { in hns3_nic_init_coal_cfg()5312 priv->max_non_tso_bd_num = ae_dev->dev_specs.max_non_tso_bd_num; in hns3_client_init()5393 netdev->max_mtu = HNS3_MAX_MTU(ae_dev->dev_specs.max_frm_size); in hns3_client_init()
545 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()2656 ae_dev->dev_specs.max_non_tso_bd_num = in hclgevf_set_default_dev_specs()2658 ae_dev->dev_specs.rss_ind_tbl_size = HCLGEVF_RSS_IND_TBL_SIZE; in hclgevf_set_default_dev_specs()2659 ae_dev->dev_specs.rss_key_size = HCLGE_COMM_RSS_KEY_SIZE; in hclgevf_set_default_dev_specs()2660 ae_dev->dev_specs.max_int_gl = HCLGEVF_DEF_MAX_INT_GL; in hclgevf_set_default_dev_specs()2661 ae_dev->dev_specs.max_frm_size = HCLGEVF_MAC_MAX_FRAME; in hclgevf_set_default_dev_specs()2674 ae_dev->dev_specs.max_non_tso_bd_num = req0->max_non_tso_bd_num; in hclgevf_parse_dev_specs()2675 ae_dev->dev_specs.rss_ind_tbl_size = in hclgevf_parse_dev_specs()2677 ae_dev->dev_specs.int_ql_max = le16_to_cpu(req0->int_ql_max); in hclgevf_parse_dev_specs()[all …]
38 u16 rss_ind_tbl_size = ae_dev->dev_specs.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()
434 u32 reg_num = hdev->ae_dev->dev_specs.mac_stats_num; in hclge_mac_update_stats_complete()514 if (hdev->ae_dev->dev_specs.mac_stats_num) in hclge_mac_update_stats()528 if (strs[i].stats_num <= hdev->ae_dev->dev_specs.mac_stats_num) in hclge_comm_get_count()542 if (strs[i].stats_num > hdev->ae_dev->dev_specs.mac_stats_num) in hclge_comm_get_stats()563 if (strs[i].stats_num > hdev->ae_dev->dev_specs.mac_stats_num) in hclge_comm_get_strings()1322 ae_dev->dev_specs.max_non_tso_bd_num = HCLGE_MAX_NON_TSO_BD_NUM; in hclge_set_default_dev_specs()1323 ae_dev->dev_specs.rss_ind_tbl_size = HCLGE_RSS_IND_TBL_SIZE; in hclge_set_default_dev_specs()1324 ae_dev->dev_specs.rss_key_size = HCLGE_COMM_RSS_KEY_SIZE; in hclge_set_default_dev_specs()1325 ae_dev->dev_specs.max_tm_rate = HCLGE_ETHER_MAX_RATE; in hclge_set_default_dev_specs()1326 ae_dev->dev_specs.max_int_gl = HCLGE_DEF_MAX_INT_GL; in hclge_set_default_dev_specs()[all …]
474 hdev->ae_dev->dev_specs.max_tm_rate); in hclge_tm_port_shaper_cfg()598 max_tx_rate = hdev->ae_dev->dev_specs.max_tm_rate; in hclge_tm_qs_shaper_cfg()602 hdev->ae_dev->dev_specs.max_tm_rate); in hclge_tm_qs_shaper_cfg()801 hdev->ae_dev->dev_specs.max_tm_rate; in hclge_tm_pg_info_init()885 u32 max_tm_rate = hdev->ae_dev->dev_specs.max_tm_rate; in hclge_tm_pg_shaper_cfg()1047 u32 max_tm_rate = hdev->ae_dev->dev_specs.max_tm_rate; in hclge_tm_pri_tc_base_shaper_cfg()1098 hdev->ae_dev->dev_specs.max_tm_rate); in hclge_tm_pri_vnet_base_shaper_pri_cfg()1128 u32 max_tm_rate = hdev->ae_dev->dev_specs.max_tm_rate; in hclge_tm_pri_vnet_base_shaper_qs_cfg()
419 HCLGE_REG_TLV_SIZE) * ae_dev->dev_specs.tnl_num; in hclge_get_dfx_reg_len()434 for (i = HCLGE_REG_RPU_TNL_ID_0; i <= ae_dev->dev_specs.tnl_num; i++) { in hclge_get_dfx_rpu_tnl_reg()