summaryrefslogtreecommitdiff
path: root/drivers/vdpa/pds/aux_drv.h
blob: 99e0ff340bfa48b093facb561d11c01e22ca5b68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright(c) 2023 Advanced Micro Devices, Inc */

#ifndef _AUX_DRV_H_
#define _AUX_DRV_H_

#include <linux/virtio_pci_modern.h>

#define PDS_VDPA_DRV_DESCRIPTION    "AMD/Pensando vDPA VF Device Driver"
#define PDS_VDPA_DRV_NAME           KBUILD_MODNAME

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;
	struct virtio_pci_modern_device vd_mdev;

	int nintrs;
};
#endif /* _AUX_DRV_H_ */