Lines Matching refs:vdpa_setattr
84 .vdpa_setattr.opcode = PDS_VDPA_CMD_SET_ATTR, in pds_vdpa_cmd_set_mac()
85 .vdpa_setattr.vdpa_index = pdsv->vdpa_index, in pds_vdpa_cmd_set_mac()
86 .vdpa_setattr.vf_id = cpu_to_le16(pdsv->vdpa_aux->vf_id), in pds_vdpa_cmd_set_mac()
87 .vdpa_setattr.attr = PDS_VDPA_ATTR_MAC, in pds_vdpa_cmd_set_mac()
92 ether_addr_copy(cmd.vdpa_setattr.mac, mac); in pds_vdpa_cmd_set_mac()
93 err = pds_client_adminq_cmd(padev, &cmd, sizeof(cmd.vdpa_setattr), in pds_vdpa_cmd_set_mac()
107 .vdpa_setattr.opcode = PDS_VDPA_CMD_SET_ATTR, in pds_vdpa_cmd_set_max_vq_pairs()
108 .vdpa_setattr.vdpa_index = pdsv->vdpa_index, in pds_vdpa_cmd_set_max_vq_pairs()
109 .vdpa_setattr.vf_id = cpu_to_le16(pdsv->vdpa_aux->vf_id), in pds_vdpa_cmd_set_max_vq_pairs()
110 .vdpa_setattr.attr = PDS_VDPA_ATTR_MAX_VQ_PAIRS, in pds_vdpa_cmd_set_max_vq_pairs()
111 .vdpa_setattr.max_vq_pairs = cpu_to_le16(max_vqp), in pds_vdpa_cmd_set_max_vq_pairs()
116 err = pds_client_adminq_cmd(padev, &cmd, sizeof(cmd.vdpa_setattr), in pds_vdpa_cmd_set_max_vq_pairs()