aux_drv.h 574 B

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