PCIe endpoint to rootport

I have sent video file from rootport to endpoint, and same i want to do from endpoint to rootport but unable. Please help me out for this.

For what driver are you using there?

Hi Wayne,

I am using Jetson AGX Orin on a developer kit in PCIe Root Complex ↔ Endpoint configuration.

Jetson Linux: R36.4.3 (JetPack 6.x)

Kernel: 5.15.148-rt-tegra

Driver used: Modified pci_epf_test.c on the Endpoint side

Root Port side: Custom userspace application using mmap() to access BAR memory

Data transfer method: BAR-based memory transfer (not DMA yet)

I am able to successfully transfer a video file from Root Port → Endpoint, but Endpoint → Root Port transfer is failing.

Could you please guide:

  1. Whether bidirectional transfer using pci_epf_test is supported as-is?
  2. If additional configuration is required on the RC side for EP→RC transfers?
  3. Any recommended NVIDIA-supported example for EP→RC data transfer?

Thanks in advance.

Please use tegra vnet driver. pci_epf_test is deprecated.