Skip to content

vpci: add support for SR-IOV capability

Roger Pau Monne xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest11 patches 15 repliesIn review
  2. v110 patches 32 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11vpci: move locktools/tests/vpci/emul.h tools/tests/vpci/main.c xen/arch/x86/hvm/vmsi.c +7 more+72 -422 replies
2/11vpci/msix: add lock to protect the list of MSIX regionsxen/arch/x86/hvm/hvm.c xen/drivers/vpci/msix.c xen/include/asm-x86/hvm/domain.h+13 -61 reply
3/11vpci: add tear down functionsxen/arch/arm/xen.lds.S xen/arch/x86/xen.lds.S xen/drivers/vpci/header.c +4 more+31 -262 replies
4/11vpci/msix: add teardown cleanupxen/drivers/vpci/msix.c xen/drivers/vpci/vpci.c+49 -72 replies
5/11vpci/msi: add teardown cleanupxen/drivers/vpci/msi.c xen/drivers/vpci/vpci.c+39 -122 replies
6/11vpci/header: add teardown cleanupxen/drivers/vpci/header.c+28 -71 reply
7/11rangeset: introduce rangeset_mergexen/common/rangeset.c xen/include/xen/rangeset.h+15 -00 replies
8/11vpci/header: allow multiple map operationsxen/drivers/vpci/header.c+13 -11 reply
9/11pci: add vpci hooks for device addition/removalxen/drivers/passthrough/pci.c xen/drivers/vpci/vpci.c xen/include/xen/vpci.h+11 -11 reply
10/11vpci: add a wait operation to the vpci vcpu pending actionsxen/drivers/vpci/header.c xen/include/xen/vpci.h+74 -240 replies
11/11vpci/sriov: add support for SR-IOV capabilityxen/drivers/vpci/Makefile xen/drivers/vpci/header.c xen/drivers/vpci/sriov.c +2 more+359 -153 replies

Reviews trailers per patch

8 of 11 patches have a Reviewed-by or Acked-by.

PatchWei LiuJan Beulich
1/11R-b
2/11R-b
3/11R-b A-b
4/11R-b
5/11R-b
6/11
7/11A-b
8/11R-b
9/11R-b
10/11
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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