search for: pci_ari_enable_fwd

Displaying 9 results from an estimated 9 matches for "pci_ari_enable_fwd".

2008 Aug 12
0
SR-IOV: patches are available for Linux kernel [2/4]
...drivers/pci/ari.c @@ -0,0 +1,70 @@ +/* + * drivers/pci/ari.c + * + * Copyright (C) 2008 Intel Corporation, Yu Zhao <yu.zhao at intel.com> + * + * PCI Express Alternative Routing-ID Interpretation capability support. + */ + +#include <linux/pci.h> + +#include "pci.h" + +/** + * pci_ari_enable_fwd - enable ARI forwarding + * @dev: PCI device + */ +void pci_ari_enable_fwd(struct pci_dev *dev) +{ + int pos; + u32 cap; + u16 ctrl; + + if (dev->pcie_type != PCI_EXP_TYPE_ROOT_PORT && + dev->pcie_type != PCI_EXP_TYPE_DOWNSTREAM) + return; + + pos = pci_find_capability(dev, PCI_C...
2008 Aug 12
0
SR-IOV: patches are available for Linux kernel [2/4]
...drivers/pci/ari.c @@ -0,0 +1,70 @@ +/* + * drivers/pci/ari.c + * + * Copyright (C) 2008 Intel Corporation, Yu Zhao <yu.zhao at intel.com> + * + * PCI Express Alternative Routing-ID Interpretation capability support. + */ + +#include <linux/pci.h> + +#include "pci.h" + +/** + * pci_ari_enable_fwd - enable ARI forwarding + * @dev: PCI device + */ +void pci_ari_enable_fwd(struct pci_dev *dev) +{ + int pos; + u32 cap; + u16 ctrl; + + if (dev->pcie_type != PCI_EXP_TYPE_ROOT_PORT && + dev->pcie_type != PCI_EXP_TYPE_DOWNSTREAM) + return; + + pos = pci_find_capability(dev, PCI_C...
2008 Aug 12
0
SR-IOV: patches are available for Linux kernel [2/4]
...drivers/pci/ari.c @@ -0,0 +1,70 @@ +/* + * drivers/pci/ari.c + * + * Copyright (C) 2008 Intel Corporation, Yu Zhao <yu.zhao at intel.com> + * + * PCI Express Alternative Routing-ID Interpretation capability support. + */ + +#include <linux/pci.h> + +#include "pci.h" + +/** + * pci_ari_enable_fwd - enable ARI forwarding + * @dev: PCI device + */ +void pci_ari_enable_fwd(struct pci_dev *dev) +{ + int pos; + u32 cap; + u16 ctrl; + + if (dev->pcie_type != PCI_EXP_TYPE_ROOT_PORT && + dev->pcie_type != PCI_EXP_TYPE_DOWNSTREAM) + return; + + pos = pci_find_capability(dev, PCI_C...
2008 Sep 01
1
[PATCH 2/4 v2] PCI: support ARI capability
...drivers/pci/ari.c @@ -0,0 +1,71 @@ +/* + * drivers/pci/ari.c + * + * Copyright (C) 2008 Intel Corporation, Yu Zhao <yu.zhao at intel.com> + * + * PCI Express Alternative Routing-ID Interpretation capability support. + */ + +#include <linux/pci.h> + +#include "pci.h" + +/** + * pci_ari_enable_fwd - enable ARI forwarding + * @dev: the PCI device + */ +void pci_ari_enable_fwd(struct pci_dev *dev) +{ + int pos; + u32 cap; + u16 ctrl; + + if (dev->pcie_type != PCI_EXP_TYPE_ROOT_PORT && + dev->pcie_type != PCI_EXP_TYPE_DOWNSTREAM && + dev->ari_enabled) + return;...
2008 Sep 01
1
[PATCH 2/4 v2] PCI: support ARI capability
...drivers/pci/ari.c @@ -0,0 +1,71 @@ +/* + * drivers/pci/ari.c + * + * Copyright (C) 2008 Intel Corporation, Yu Zhao <yu.zhao at intel.com> + * + * PCI Express Alternative Routing-ID Interpretation capability support. + */ + +#include <linux/pci.h> + +#include "pci.h" + +/** + * pci_ari_enable_fwd - enable ARI forwarding + * @dev: the PCI device + */ +void pci_ari_enable_fwd(struct pci_dev *dev) +{ + int pos; + u32 cap; + u16 ctrl; + + if (dev->pcie_type != PCI_EXP_TYPE_ROOT_PORT && + dev->pcie_type != PCI_EXP_TYPE_DOWNSTREAM && + dev->ari_enabled) + return;...
2008 Sep 01
1
[PATCH 2/4 v2] PCI: support ARI capability
...drivers/pci/ari.c @@ -0,0 +1,71 @@ +/* + * drivers/pci/ari.c + * + * Copyright (C) 2008 Intel Corporation, Yu Zhao <yu.zhao at intel.com> + * + * PCI Express Alternative Routing-ID Interpretation capability support. + */ + +#include <linux/pci.h> + +#include "pci.h" + +/** + * pci_ari_enable_fwd - enable ARI forwarding + * @dev: the PCI device + */ +void pci_ari_enable_fwd(struct pci_dev *dev) +{ + int pos; + u32 cap; + u16 ctrl; + + if (dev->pcie_type != PCI_EXP_TYPE_ROOT_PORT && + dev->pcie_type != PCI_EXP_TYPE_DOWNSTREAM && + dev->ari_enabled) + return;...
2008 Sep 01
2
[PATCH 3/4 v2] PCI: support SR-IOV capability
...ev, resno, type); + if (reg) + return reg; } dev_err(&dev->dev, "BAR: invalid resource #: %d\n", resno); diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index 720a607..07ac992 100644 --- a/drivers/pci/pci.h +++ b/drivers/pci/pci.h @@ -155,3 +155,47 @@ static inline void pci_ari_enable_fwd(struct pci_dev *dev) { } #endif /* CONFIG_PCI_ARI */ + +/* Single Root I/O Virtualization */ +#define PCI_IOV_PARAM_LEN 64 + +struct pci_iov { + int cap; /* capability position */ + int align; /* page size used to map memory space */ + int maxbus; /* max number of buses required by VFs */ + u...
2008 Sep 01
2
[PATCH 3/4 v2] PCI: support SR-IOV capability
...ev, resno, type); + if (reg) + return reg; } dev_err(&dev->dev, "BAR: invalid resource #: %d\n", resno); diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index 720a607..07ac992 100644 --- a/drivers/pci/pci.h +++ b/drivers/pci/pci.h @@ -155,3 +155,47 @@ static inline void pci_ari_enable_fwd(struct pci_dev *dev) { } #endif /* CONFIG_PCI_ARI */ + +/* Single Root I/O Virtualization */ +#define PCI_IOV_PARAM_LEN 64 + +struct pci_iov { + int cap; /* capability position */ + int align; /* page size used to map memory space */ + int maxbus; /* max number of buses required by VFs */ + u...
2008 Sep 01
2
[PATCH 3/4 v2] PCI: support SR-IOV capability
...ev, resno, type); + if (reg) + return reg; } dev_err(&dev->dev, "BAR: invalid resource #: %d\n", resno); diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index 720a607..07ac992 100644 --- a/drivers/pci/pci.h +++ b/drivers/pci/pci.h @@ -155,3 +155,47 @@ static inline void pci_ari_enable_fwd(struct pci_dev *dev) { } #endif /* CONFIG_PCI_ARI */ + +/* Single Root I/O Virtualization */ +#define PCI_IOV_PARAM_LEN 64 + +struct pci_iov { + int cap; /* capability position */ + int align; /* page size used to map memory space */ + int maxbus; /* max number of buses required by VFs */ + u...