Yes. The address of the data ring and its length can be obtained using the Sniffer10G API snf_ring_portinfo() function.
Two fields were added to the snf_ring_portinfo struct returned by snf_ring_portinfo():
uintptr_t data_addr; /**< Address of data ring */ uintptr_t data_size; /**< Size of the data ring */
The address of the data ring can be registered for DMA with the third-party accelerator and a host application can initiate DMA to the accelerator directly from the data ring.
DMAing from the Myri-10G adapter directly to the third-party accelerator without host involvement (using GPUDirect RDMA for nVidia Tesla GPUs, for example) is not supported at this time.
Please read the example program /opt/snf/share/examples/cuda/snf_cuda_example.cu.
Related Links: