1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
2 | /* Copyright(c) 2023 Advanced Micro Devices, Inc */ |
3 | |
4 | #ifndef _AUX_DRV_H_ |
5 | #define _AUX_DRV_H_ |
6 | |
7 | #include <linux/virtio_pci_modern.h> |
8 | |
9 | #define PDS_VDPA_DRV_DESCRIPTION "AMD/Pensando vDPA VF Device Driver" |
10 | #define PDS_VDPA_DRV_NAME KBUILD_MODNAME |
11 | |
12 | struct pds_vdpa_aux { |
13 | struct pds_auxiliary_dev *padev; |
14 | |
15 | struct vdpa_mgmt_dev vdpa_mdev; |
16 | struct pds_vdpa_device *pdsv; |
17 | |
18 | struct pds_vdpa_ident ident; |
19 | |
20 | int vf_id; |
21 | struct dentry *dentry; |
22 | struct virtio_pci_modern_device vd_mdev; |
23 | |
24 | int nintrs; |
25 | }; |
26 | #endif /* _AUX_DRV_H_ */ |
27 | |