Hello,i have two LX2080A, one as RC device and the other as EP device.
Rc side I used "linux/tools/pci/ pCI-endpoint-test" can pass the test.
How do I accept data on the EP side? Are there any test demo on the ep side to refer to?
Solved! Go to Solution.
Please refer to Documentation/PCI/endpoint/pci-test-function.rst for details.
We don't have this kind of demo.
PCIe EP is only a framework, it cannot initiate a request, allocate buffers, to set up PCIe transmission environment.
RC is always request initiator in the system.
You could refer to drivers/pci/endpoint/functions/pci-epf-test.c for PCI Endpoint test driver.
Do you have the register manual for these endpoint registers ?
Please refer to Documentation/PCI/endpoint/pci-test-function.rst for details.