1221431Sjonathan/* SPDX-License-Identifier: GPL-2.0-only */
2221431Sjonathan/* Copyright(c) 2023 Advanced Micro Devices, Inc */
3224651Sjonathan
4221431Sjonathan#ifndef _AUX_DRV_H_
5221431Sjonathan#define _AUX_DRV_H_
6221431Sjonathan
7221431Sjonathan#include <linux/virtio_pci_modern.h>
8221431Sjonathan
9221431Sjonathan#define PDS_VDPA_DRV_DESCRIPTION    "AMD/Pensando vDPA VF Device Driver"
10221431Sjonathan#define PDS_VDPA_DRV_NAME           KBUILD_MODNAME
11221431Sjonathan
12221431Sjonathanstruct pds_vdpa_aux {
13221431Sjonathan	struct pds_auxiliary_dev *padev;
14221431Sjonathan
15221431Sjonathan	struct vdpa_mgmt_dev vdpa_mdev;
16221431Sjonathan	struct pds_vdpa_device *pdsv;
17221431Sjonathan
18221431Sjonathan	struct pds_vdpa_ident ident;
19221431Sjonathan
20221431Sjonathan	int vf_id;
21221431Sjonathan	struct dentry *dentry;
22221431Sjonathan	struct virtio_pci_modern_device vd_mdev;
23221431Sjonathan
24221431Sjonathan	int nintrs;
25221431Sjonathan};
26221431Sjonathan#endif /* _AUX_DRV_H_ */
27221431Sjonathan