Searched refs:req0 (Results 1 – 2 of 2) sorted by relevance
1147 struct hns3_dev_specs_0_cmd *req0; in hns3vf_parse_dev_specifications() local1149 req0 = (struct hns3_dev_specs_0_cmd *)desc[0].data; in hns3vf_parse_dev_specifications()1151 hw->max_non_tso_bd_num = req0->max_non_tso_bd_num; in hns3vf_parse_dev_specifications()1152 hw->rss_ind_tbl_size = rte_le_to_cpu_16(req0->rss_ind_tbl_size); in hns3vf_parse_dev_specifications()1153 hw->rss_key_size = rte_le_to_cpu_16(req0->rss_key_size); in hns3vf_parse_dev_specifications()1154 hw->intr.int_ql_max = rte_le_to_cpu_16(req0->intr_ql_max); in hns3vf_parse_dev_specifications()
2949 struct hns3_dev_specs_0_cmd *req0; in hns3_parse_dev_specifications() local2951 req0 = (struct hns3_dev_specs_0_cmd *)desc[0].data; in hns3_parse_dev_specifications()2953 hw->max_non_tso_bd_num = req0->max_non_tso_bd_num; in hns3_parse_dev_specifications()2954 hw->rss_ind_tbl_size = rte_le_to_cpu_16(req0->rss_ind_tbl_size); in hns3_parse_dev_specifications()2955 hw->rss_key_size = rte_le_to_cpu_16(req0->rss_key_size); in hns3_parse_dev_specifications()2956 hw->max_tm_rate = rte_le_to_cpu_32(req0->max_tm_rate); in hns3_parse_dev_specifications()2957 hw->intr.int_ql_max = rte_le_to_cpu_16(req0->intr_ql_max); in hns3_parse_dev_specifications()