diff options
author | Shannon Nelson <shannon.nelson@amd.com> | 2023-05-19 23:56:27 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-06-27 16:47:08 +0200 |
commit | 25d1270b6e9ea893c2fe19a4bd52ebfde22812f4 (patch) | |
tree | dbca1c807082f4a06ba35cd0073e0aa4864e9917 /drivers/vdpa/pds/aux_drv.h | |
parent | pds_vdpa: new adminq entries (diff) | |
download | linux-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.h | 7 |
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_ */ |