Lines Matching refs:req0
1378 struct hclge_dev_specs_0_cmd *req0; in hclge_parse_dev_specs() local
1380 req0 = (struct hclge_dev_specs_0_cmd *)desc[0].data; in hclge_parse_dev_specs()
1382 ae_dev->dev_specs.max_non_tso_bd_num = req0->max_non_tso_bd_num; in hclge_parse_dev_specs()
1384 le16_to_cpu(req0->rss_ind_tbl_size); in hclge_parse_dev_specs()
1385 ae_dev->dev_specs.rss_key_size = le16_to_cpu(req0->rss_key_size); in hclge_parse_dev_specs()
1386 ae_dev->dev_specs.max_tm_rate = le32_to_cpu(req0->max_tm_rate); in hclge_parse_dev_specs()
8434 struct hclge_vlan_filter_vf_cfg_cmd *req0; in hclge_set_vf_vlan_common() local
8465 req0 = (struct hclge_vlan_filter_vf_cfg_cmd *)desc[0].data; in hclge_set_vf_vlan_common()
8468 req0->vlan_id = cpu_to_le16(vlan); in hclge_set_vf_vlan_common()
8469 req0->vlan_cfg = is_kill; in hclge_set_vf_vlan_common()
8472 req0->vf_bitmap[vf_byte_off] = vf_byte_val; in hclge_set_vf_vlan_common()
8486 if (!req0->resp_code || req0->resp_code == 1) in hclge_set_vf_vlan_common()
8489 if (req0->resp_code == HCLGE_VF_VLAN_NO_ENTRY) { in hclge_set_vf_vlan_common()
8498 req0->resp_code); in hclge_set_vf_vlan_common()
8501 if (!req0->resp_code) in hclge_set_vf_vlan_common()
8509 if (req0->resp_code == HCLGE_VF_VLAN_DEL_NO_FOUND) in hclge_set_vf_vlan_common()
8514 req0->resp_code); in hclge_set_vf_vlan_common()