Skip to content

NTB function for PCIe RC to EP connection

Frank Li linux-pci ntb 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 25 repliesIn review
  2. v1 RFC4 patches 7 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4PCI: designware-ep: Allow pci_epc_set_bar() update inbound map addressdrivers/pci/controller/dwc/pcie-designware-ep.c+9 -111 replies
2/4NTB: epf: Allow more flexibility in the memory BAR map methoddrivers/ntb/hw/epf/ntb_hw_epf.c+35 -131 reply
3/4PCI: endpoint: Support NTB transfer between RC and EPdrivers/pci/endpoint/functions/Kconfig drivers/pci/endpoint/functions/Makefile drivers/pci/endpoint/functions/pci-epf-vntb.c+1436 -04 replies
4/4Documentation: PCI: Add specification for the PCI vNTB function deviceDocumentation/PCI/endpoint/index.rst Documentation/PCI/endpoint/pci-vntb-function.rst Documentation/PCI/endpoint/pci-vntb-howto.rst+295 -00 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

PatchNiklas Cassel
1/4T-b
2/4
3/4
4/4

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 0/4] NTB function for PCIe RC to EP connection

This implement NTB function for PCIe EP to RC connections. The existed ntb epf need two PCI EPs and two PCI Host.

This just need EP to RC connections.

    ┌────────────┐         ┌─────────────────────────────────────┐
    │            │         │                                     │
    ├────────────┤         │                      ┌──────────────┤
    │ NTB        │         │                      │ NTB          │
    │ NetDev     │         │                      │ NetDev       │
    ├────────────┤         │                      ├──────────────┤
    │ NTB        │         │                      │ NTB          │
    │ Transfer   │         │                      │ Transfer     │
    ├────────────┤         │                      ├──────────────┤
    │            │         │                      │              │
    │  PCI NTB   │         │                      │              │
    │    EPF     │         │                      │              │
    │   Driver   │         │                      │ PCI Virtual  │
    │            │         ├───────────────┐      │ NTB Driver   │
    │            │         │ PCI EP NTB    │◄────►│              │
    │            │         │  FN Driver    │      │              │
    ├────────────┤         ├───────────────┤      ├──────────────┤
    │            │         │               │      │              │
    │  PCI BUS   │ ◄─────► │  PCI EP BUS   │      │  Virtual PCI │
    │            │  PCI    │               │      │     BUS      │
    └────────────┘         └───────────────┴──────┴──────────────┘
        PCI RC                        PCI EP

Frank Li (4):
PCI: designware-ep: Allow pci_epc_set_bar() update inbound map address
NTB: epf: Allow more flexibility in the memory BAR map method
PCI: endpoint: Support NTB transfer between RC and EP
Documentation: PCI: Add specification for the PCI vNTB function device

 Documentation/PCI/endpoint/index.rst          |    2 +
 .../PCI/endpoint/pci-vntb-function.rst        |  126 ++
 Documentation/PCI/endpoint/pci-vntb-howto.rst |  167 ++
 drivers/ntb/hw/epf/ntb_hw_epf.c               |   48 +-
 .../pci/controller/dwc/pcie-designware-ep.c   |   10 +-
 drivers/pci/endpoint/functions/Kconfig        |   11 +
 drivers/pci/endpoint/functions/Makefile       |    1 +
 drivers/pci/endpoint/functions/pci-epf-vntb.c | 1424 +++++++++++++++++
 8 files changed, 1775 insertions(+), 14 deletions(-)
 create mode 100644 Documentation/PCI/endpoint/pci-vntb-function.rst
 create mode 100644 Documentation/PCI/endpoint/pci-vntb-howto.rst
 create mode 100644 drivers/pci/endpoint/functions/pci-epf-vntb.c
Signature · 1 line
2.24.0.rc1