#include <linux/pci.h>
#include <linux/delay.h>
#include "nitrox_dev.h"
#include "nitrox_hal.h"
#include "nitrox_common.h"
#include "nitrox_isr.h"
#include "nitrox_mbx.h"
static inline bool num_vfs_valid(int num_vfs)
{ … }
static inline enum vf_mode num_vfs_to_mode(int num_vfs)
{ … }
static inline int vf_mode_to_nr_queues(enum vf_mode mode)
{ … }
static void nitrox_pf_cleanup(struct nitrox_device *ndev)
{ … }
static int nitrox_pf_reinit(struct nitrox_device *ndev)
{ … }
static void nitrox_sriov_cleanup(struct nitrox_device *ndev)
{ … }
static int nitrox_sriov_init(struct nitrox_device *ndev)
{ … }
static int nitrox_sriov_enable(struct pci_dev *pdev, int num_vfs)
{ … }
static int nitrox_sriov_disable(struct pci_dev *pdev)
{ … }
int nitrox_sriov_configure(struct pci_dev *pdev, int num_vfs)
{ … }