Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
NTB: EPF: support NTB transfer between PCI RC and EP connection
Add NTB function driver and virtual PCI BUS and Virtual NTB driver
to implement communication between PCIe RC and PCIe EP devices
┌────────────┐ ┌─────────────────────────────────────┐
│ │ │ │
├────────────┤ │ ┌──────────────┤
│ 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
This driver include 3 part:
1 PCI EP NTB function driver
2 Virtual PCI bus
3 PCI virutal NTB driver, which is loaded only by above virtual pci bus
Signed-off-by: Frank Li <Frank.Li@nxp.com>- Loading branch information