Thor RC 与 多个 Thor EP 通信如何使用同一块 dma buffer

Hi NV,

目前我们尝试在1台Thor RC通过switch连接多台Thor EP的环境下进行xdma通信测试,需要让RC与每台EP都进行数据交互。

但是 RC->EP的dma传输需要用基于 root port 申请的 dma 缓冲区,如果要进行 EP->RC 的 dma 传输,需要先在RC上专门基于该EP设备申请dma缓冲区,用该地址才能实现传输。这导致了如果下游连接多个EP就需要RC对每个EP设备申请专用的dma缓冲区,导致接入多个 Thor EP 时需要申请很多个 dma 缓冲区。

而之前在orin上,RC端只需申请一个dma缓冲区,可以实现RC->EP的dma传输,下游连接的各个EP也都可以用这个地址进行EP->RC的传输。

Thor RC上是否也可以做到申请一个dma缓冲区,同时允许RC->EP与EP->RC两个方向的传输,并且可以让所有EP使用,以减轻RC侧的内存压力?

There is no update from you for a period, assuming this is not an issue anymore.
Hence, we are closing this topic. If need further support, please open a new one.
Thanks
~0930

This experiment is on which JetPack SW?
Have you tried with the same method on JetPAck 7.x?