dma_ip_drivers icon indicating copy to clipboard operation
dma_ip_drivers copied to clipboard

Does QDMA in DPDK have multi-process support ?

Open ssc1010 opened this issue 4 years ago • 4 comments

I active process A with --proc-type=primary. Then active process B with --proc-type=secondary and do dma write in process B, but run into segmentation fault as executing rte_eth_tx_burst. Apart from launching the process with different arguments, is there anything else I need to pay attention to ? Or does it actually support multi-process at all ?

ssc1010 avatar Jan 23 '21 15:01 ssc1010

Hello,

My name is Mark Harfouche. I am not affiliated with Xilinx in any way. Over the years of using QDMA, I've been wanted better community organization.

I've created a fork of dma_ip_drivers which I intend to maintain and work with the community at large to improve.

The fork can be found https://github.com/hmaarrfk/dma_ip_drivers

For now, I am stating the main goals of the repository in https://github.com/hmaarrfk/dma_ip_drivers/issues/2

If you are interested in working together, feel free to open an issue or PR to my fork.

Best,

Mark

hmaarrfk avatar Aug 22 '22 04:08 hmaarrfk

@ssc1010 Did you have any luck with this issue: running multiple processes using QDMA and DPDK? I'm also running into a segmentation fault while executing the rte_eth_rx_burst call. Thanks!

digaru19 avatar Oct 29 '23 23:10 digaru19

@ssc1010 Did you have any luck with this issue: running multiple processes using QDMA and DPDK? I'm also running into a segmentation fault while executing the rte_eth_rx_burst call. Thanks!

@digaru19 Did you have done? I have the same segmentation fault while execting the ``rte_eth_rx_burst` call. Some pointer is 0x00

shuihan0555 avatar Dec 10 '23 13:12 shuihan0555

@shuihan0555 I was able to resolve this using this fix in qdma_devops.c. I am able to receive packets in both primary and secondary processes now. Although, this is an experimental fix and I'm not sure if this negatively affects any other part of the driver.

digaru19 avatar Dec 19 '23 03:12 digaru19