#include <linux/workqueue.h>
#include <linux/pci.h>
#include <linux/device.h>
#include "adf_common_drv.h"
#include "adf_cfg.h"
#include "adf_pfvf_pf_msg.h"
#define ADF_VF2PF_RATELIMIT_INTERVAL …
#define ADF_VF2PF_RATELIMIT_BURST …
static struct workqueue_struct *pf2vf_resp_wq;
struct adf_pf2vf_resp { … };
static void adf_iov_send_resp(struct work_struct *work)
{ … }
void adf_schedule_vf2pf_handler(struct adf_accel_vf_info *vf_info)
{ … }
static int adf_enable_sriov(struct adf_accel_dev *accel_dev)
{ … }
void adf_reenable_sriov(struct adf_accel_dev *accel_dev)
{ … }
void adf_disable_sriov(struct adf_accel_dev *accel_dev)
{ … }
EXPORT_SYMBOL_GPL(…);
int adf_sriov_configure(struct pci_dev *pdev, int numvfs)
{ … }
EXPORT_SYMBOL_GPL(…);
int __init adf_init_pf_wq(void)
{ … }
void adf_exit_pf_wq(void)
{ … }