summaryrefslogtreecommitdiffstats
path: root/drivers/vdpa/pds/aux_drv.h
diff options
context:
space:
mode:
authorShannon Nelson <shannon.nelson@amd.com>2023-05-19 23:56:27 +0200
committerMichael S. Tsirkin <mst@redhat.com>2023-06-27 16:47:08 +0200
commit25d1270b6e9ea893c2fe19a4bd52ebfde22812f4 (patch)
treedbca1c807082f4a06ba35cd0073e0aa4864e9917 /drivers/vdpa/pds/aux_drv.h
parentpds_vdpa: new adminq entries (diff)
downloadlinux-25d1270b6e9ea893c2fe19a4bd52ebfde22812f4.tar.xz
linux-25d1270b6e9ea893c2fe19a4bd52ebfde22812f4.zip
pds_vdpa: get vdpa management info
Find the vDPA management information from the DSC in order to advertise it to the vdpa subsystem. Signed-off-by: Shannon Nelson <shannon.nelson@amd.com> Acked-by: Jason Wang <jasowang@redhat.com> Message-Id: <20230519215632.12343-7-shannon.nelson@amd.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vdpa/pds/aux_drv.h')
-rw-r--r--drivers/vdpa/pds/aux_drv.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/vdpa/pds/aux_drv.h b/drivers/vdpa/pds/aux_drv.h
index f1e99359424e..dcec782e79eb 100644
--- a/drivers/vdpa/pds/aux_drv.h
+++ b/drivers/vdpa/pds/aux_drv.h
@@ -10,6 +10,13 @@
struct pds_vdpa_aux {
struct pds_auxiliary_dev *padev;
+ struct vdpa_mgmt_dev vdpa_mdev;
+
+ struct pds_vdpa_ident ident;
+
+ int vf_id;
struct dentry *dentry;
+
+ int nintrs;
};
#endif /* _AUX_DRV_H_ */