Searched refs:req0 (Results 1 – 2 of 2) sorted by relevance
702 struct hns3_dev_specs_0_cmd *req0; in hns3vf_parse_dev_specifications() local704 req0 = (struct hns3_dev_specs_0_cmd *)desc[0].data; in hns3vf_parse_dev_specifications()706 hw->max_non_tso_bd_num = req0->max_non_tso_bd_num; in hns3vf_parse_dev_specifications()707 hw->rss_ind_tbl_size = rte_le_to_cpu_16(req0->rss_ind_tbl_size); in hns3vf_parse_dev_specifications()708 hw->rss_key_size = rte_le_to_cpu_16(req0->rss_key_size); in hns3vf_parse_dev_specifications()709 hw->intr.int_ql_max = rte_le_to_cpu_16(req0->intr_ql_max); in hns3vf_parse_dev_specifications()
2662 struct hns3_dev_specs_0_cmd *req0; in hns3_parse_dev_specifications() local2664 req0 = (struct hns3_dev_specs_0_cmd *)desc[0].data; in hns3_parse_dev_specifications()2666 hw->max_non_tso_bd_num = req0->max_non_tso_bd_num; in hns3_parse_dev_specifications()2667 hw->rss_ind_tbl_size = rte_le_to_cpu_16(req0->rss_ind_tbl_size); in hns3_parse_dev_specifications()2668 hw->rss_key_size = rte_le_to_cpu_16(req0->rss_key_size); in hns3_parse_dev_specifications()2669 hw->max_tm_rate = rte_le_to_cpu_32(req0->max_tm_rate); in hns3_parse_dev_specifications()2670 hw->intr.int_ql_max = rte_le_to_cpu_16(req0->intr_ql_max); in hns3_parse_dev_specifications()