UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer joaoamaral
Observer
270 Views
Registered: ‎01-19-2018

HOW TO REUSE XAXIDMA BUFFER DESCRIPTORS USING XAXIDMA DEVICE DRIVER?

Hi everyone,

 

I am currently using XAxiDma Device driver to forward packets from PS to PL. Adapting the examples, i could send a bunch of packets to DMA until i run out of Buffer Descriptors (i am in Scatter Gather Mode). The problem is i need to send an infinite ammount of packets and thus i need to reuse the buffer descriptors somehow... Can anyone tell me how can i make the last BD point back to the first one and reuse all the BDs?

 

 

0 Kudos
1 Reply
Highlighted
Xilinx Employee
Xilinx Employee
196 Views
Registered: ‎10-04-2016

Re: HOW TO REUSE XAXIDMA BUFFER DESCRIPTORS USING XAXIDMA DEVICE DRIVER?

Hi @joaoamaral,

I think you are asking about the AXI DMA IP. AXI DMA does support cyclic mode where you can re-use buffer descriptors. Please review PG021 for details.

 

https://www.xilinx.com/support/documentation/ip_documentation/axi_dma/v7_1/pg021_axi_dma.pdf

 

Regards,

 

Deanna

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos