search for: notify_phyfn

Displaying 3 results from an estimated 3 matches for "notify_phyfn".

2008 Aug 12
0
SR-IOV: patches are available for Linux kernel [3/4]
...+ * PCI Express Single Root I/O Virtualization capability support. + */ + +#include <linux/ctype.h> +#include <linux/string.h> +#include <linux/pci.h> +#include <linux/delay.h> +#include <asm/page.h> + +#include "pci.h" + +#define VF_PARAM_LEN 128 + +#define notify_phyfn(pf, event, arg) ({ \ + pf->iov->notify ? pf->iov->notify(pf, event, arg) : 0; \ +}) + +static int iov_set_nr_virtfn(struct pci_dev *, int); + + +static inline void vfid_to_bdf(struct pci_dev *pf, int vfid, u8 *bus, u8 *devfn) +{ + u16 bdf; + + bdf = (pf->bus->number << 8) +...
2008 Aug 12
0
SR-IOV: patches are available for Linux kernel [3/4]
...+ * PCI Express Single Root I/O Virtualization capability support. + */ + +#include <linux/ctype.h> +#include <linux/string.h> +#include <linux/pci.h> +#include <linux/delay.h> +#include <asm/page.h> + +#include "pci.h" + +#define VF_PARAM_LEN 128 + +#define notify_phyfn(pf, event, arg) ({ \ + pf->iov->notify ? pf->iov->notify(pf, event, arg) : 0; \ +}) + +static int iov_set_nr_virtfn(struct pci_dev *, int); + + +static inline void vfid_to_bdf(struct pci_dev *pf, int vfid, u8 *bus, u8 *devfn) +{ + u16 bdf; + + bdf = (pf->bus->number << 8) +...
2008 Aug 12
0
SR-IOV: patches are available for Linux kernel [3/4]
...+ * PCI Express Single Root I/O Virtualization capability support. + */ + +#include <linux/ctype.h> +#include <linux/string.h> +#include <linux/pci.h> +#include <linux/delay.h> +#include <asm/page.h> + +#include "pci.h" + +#define VF_PARAM_LEN 128 + +#define notify_phyfn(pf, event, arg) ({ \ + pf->iov->notify ? pf->iov->notify(pf, event, arg) : 0; \ +}) + +static int iov_set_nr_virtfn(struct pci_dev *, int); + + +static inline void vfid_to_bdf(struct pci_dev *pf, int vfid, u8 *bus, u8 *devfn) +{ + u16 bdf; + + bdf = (pf->bus->number << 8) +...