Home
last modified time | relevance | path

Searched refs:resp_pf_to_vf (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_mbx.c20 struct hclge_mbx_pf_to_vf_cmd *resp_pf_to_vf; in hclge_gen_resp_to_vf() local
25 resp_pf_to_vf = (struct hclge_mbx_pf_to_vf_cmd *)desc.data; in hclge_gen_resp_to_vf()
36 resp_pf_to_vf->dest_vfid = vf_to_pf_req->mbx_src_vfid; in hclge_gen_resp_to_vf()
37 resp_pf_to_vf->msg_len = vf_to_pf_req->msg_len; in hclge_gen_resp_to_vf()
39 resp_pf_to_vf->msg[0] = HCLGE_MBX_PF_VF_RESP; in hclge_gen_resp_to_vf()
40 resp_pf_to_vf->msg[1] = vf_to_pf_req->msg[0]; in hclge_gen_resp_to_vf()
41 resp_pf_to_vf->msg[2] = vf_to_pf_req->msg[1]; in hclge_gen_resp_to_vf()
42 resp_pf_to_vf->msg[3] = (resp_status == 0) ? 0 : 1; in hclge_gen_resp_to_vf()
45 memcpy(&resp_pf_to_vf->msg[4], resp_data, resp_data_len); in hclge_gen_resp_to_vf()
58 struct hclge_mbx_pf_to_vf_cmd *resp_pf_to_vf; in hclge_send_mbx_msg() local
[all …]