Lines Matching refs:dev_specs

582 				     hdev->ae_dev->dev_specs.rss_ind_tbl_size);  in hclgevf_get_rss()
602 for (i = 0; i < hdev->ae_dev->dev_specs.rss_ind_tbl_size; i++) in hclgevf_set_rss()
2693 ae_dev->dev_specs.max_non_tso_bd_num = in hclgevf_set_default_dev_specs()
2695 ae_dev->dev_specs.rss_ind_tbl_size = HCLGEVF_RSS_IND_TBL_SIZE; in hclgevf_set_default_dev_specs()
2696 ae_dev->dev_specs.rss_key_size = HCLGE_COMM_RSS_KEY_SIZE; in hclgevf_set_default_dev_specs()
2697 ae_dev->dev_specs.max_int_gl = HCLGEVF_DEF_MAX_INT_GL; in hclgevf_set_default_dev_specs()
2698 ae_dev->dev_specs.max_frm_size = HCLGEVF_MAC_MAX_FRAME; in hclgevf_set_default_dev_specs()
2711 ae_dev->dev_specs.max_non_tso_bd_num = req0->max_non_tso_bd_num; in hclgevf_parse_dev_specs()
2712 ae_dev->dev_specs.rss_ind_tbl_size = in hclgevf_parse_dev_specs()
2714 ae_dev->dev_specs.int_ql_max = le16_to_cpu(req0->int_ql_max); in hclgevf_parse_dev_specs()
2715 ae_dev->dev_specs.rss_key_size = le16_to_cpu(req0->rss_key_size); in hclgevf_parse_dev_specs()
2716 ae_dev->dev_specs.max_int_gl = le16_to_cpu(req1->max_int_gl); in hclgevf_parse_dev_specs()
2717 ae_dev->dev_specs.max_frm_size = le16_to_cpu(req1->max_frm_size); in hclgevf_parse_dev_specs()
2722 struct hnae3_dev_specs *dev_specs = &hdev->ae_dev->dev_specs; in hclgevf_check_dev_specs() local
2724 if (!dev_specs->max_non_tso_bd_num) in hclgevf_check_dev_specs()
2725 dev_specs->max_non_tso_bd_num = HCLGEVF_MAX_NON_TSO_BD_NUM; in hclgevf_check_dev_specs()
2726 if (!dev_specs->rss_ind_tbl_size) in hclgevf_check_dev_specs()
2727 dev_specs->rss_ind_tbl_size = HCLGEVF_RSS_IND_TBL_SIZE; in hclgevf_check_dev_specs()
2728 if (!dev_specs->rss_key_size) in hclgevf_check_dev_specs()
2729 dev_specs->rss_key_size = HCLGE_COMM_RSS_KEY_SIZE; in hclgevf_check_dev_specs()
2730 if (!dev_specs->max_int_gl) in hclgevf_check_dev_specs()
2731 dev_specs->max_int_gl = HCLGEVF_DEF_MAX_INT_GL; in hclgevf_check_dev_specs()
2732 if (!dev_specs->max_frm_size) in hclgevf_check_dev_specs()
2733 dev_specs->max_frm_size = HCLGEVF_MAC_MAX_FRAME; in hclgevf_check_dev_specs()
3149 rss_indir = kcalloc(hdev->ae_dev->dev_specs.rss_ind_tbl_size, in hclgevf_set_channels()
3154 for (i = 0; i < hdev->ae_dev->dev_specs.rss_ind_tbl_size; i++) in hclgevf_set_channels()