vpci: add support for SR-IOV capability
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest11 patches 15 repliesIn review
- v110 patches 32 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | vpci: move locktools/ tools/ xen/ +7 more | +72 | 2 replies | |
| 2/11 | vpci/msix: add lock to protect the list of MSIX regionsxen/ xen/ xen/ | +13 | 1 reply | |
| 3/11 | vpci: add tear down functionsxen/ xen/ xen/ +4 more | +31 | 2 replies | |
| 4/11 | vpci/msix: add teardown cleanupxen/ xen/ | +49 | 2 replies | |
| 5/11 | vpci/msi: add teardown cleanupxen/ xen/ | +39 | 2 replies | |
| 6/11 | vpci/header: add teardown cleanupxen/ | +28 | 1 reply | |
| 7/11 | rangeset: introduce rangeset_mergexen/ xen/ | +15 | 0 replies | |
| 8/11 | vpci/header: allow multiple map operationsxen/ | +13 | 1 reply | |
| 9/11 | pci: add vpci hooks for device addition/removalxen/ xen/ xen/ | +11 | 1 reply | |
| 10/11 | vpci: add a wait operation to the vpci vcpu pending actionsxen/ xen/ | +74 | 0 replies | |
| 11/11 | vpci/sriov: add support for SR-IOV capabilityxen/ xen/ xen/ +2 more | +359 | 3 replies |
Reviews trailers per patch
8 of 11 patches have a Reviewed-by or Acked-by.
| Patch | Wei Liu | Jan Beulich |
|---|---|---|
| 1/11 | R-b | |
| 2/11 | R-b | |
| 3/11 | R-b | A-b |
| 4/11 | R-b | |
| 5/11 | R-b | |
| 6/11 | ||
| 7/11 | A-b | |
| 8/11 | R-b | |
| 9/11 | R-b | |
| 10/11 | ||
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/11] vpci: add support for SR-IOV capability
Hello,
The following series enables the usage of the SR-IOV capability by a PVH Dom0. This allows Dom0 to enable virtual functions and access them as it would do on bare metal.
No changes are needed in the Dom0 kernel in order to manage the PCIe SR-IOV capability.
The first 10 patches are preparatory changes in order to support SR-IOV. Patch 11 actually adds support for the capability.
The series can also be found at:
git://xenbits.xen.org/people/royger/xen.git sriov.v2
The series has been tested with a Linux PVH Dom0 and an Intel I350 nic.
Thanks, Roger.
Roger Pau Monne (11):
vpci: move lock
vpci/msix: add lock to protect the list of MSIX regions
vpci: add tear down functions
vpci/msix: add teardown cleanup
vpci/msi: add teardown cleanup
vpci/header: add teardown cleanup
rangeset: introduce rangeset_merge
vpci/header: allow multiple map operations
pci: add vpci hooks for device addition/removal
vpci: add a wait operation to the vpci vcpu pending actions vpci/sriov: add support for SR-IOV capability
tools/tests/vpci/emul.h | 5 +- tools/tests/vpci/main.c | 4 +- xen/arch/arm/xen.lds.S | 9 +- xen/arch/x86/hvm/hvm.c | 1 + xen/arch/x86/hvm/vmsi.c | 8 +- xen/arch/x86/xen.lds.S | 9 +- xen/common/rangeset.c | 12 ++ xen/drivers/passthrough/pci.c | 9 + xen/drivers/vpci/Makefile | 2 +- xen/drivers/vpci/header.c | 135 +++++++++++-- xen/drivers/vpci/msi.c | 61 ++++-- xen/drivers/vpci/msix.c | 78 ++++++-- xen/drivers/vpci/sriov.c | 317 +++++++++++++++++++++++++++++++ xen/drivers/vpci/vpci.c | 80 +++++--- xen/include/asm-x86/hvm/domain.h | 1 + xen/include/xen/pci.h | 1 + xen/include/xen/rangeset.h | 3 + xen/include/xen/vpci.h | 54 ++++-- 18 files changed, 676 insertions(+), 113 deletions(-) create mode 100644 xen/drivers/vpci/sriov.c
Signature · 7 lines
2.17.1 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel