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 rgallic_incjet
Observer
1,995 Views
Registered: ‎03-21-2017

Xilinx AXI DMA SG Mode - Multi channel configuration

I am looking for a way to specify tdest, tid, and tuser, scatter gather mode.

It looks like multi-channel mode is supported in xilinx_dma.c.

Question is how do I set up my descriptors to direct source memory to a specific stream?

 

Is there any example code available which illustrates use of multi-channel sg mode?

 

I'm using petalinux 2016.02.

 

 

0 Kudos
2 Replies
Observer rgallic_incjet
Observer
1,977 Views
Registered: ‎03-21-2017

Re: Xilinx AXI DMA SG Mode - Multi channel configuration

It appears I cannot create a chain of descriptors with a different tdest, tid, and tuser assigned?

 

Looks like the Xilinx DMA driver will support a scatter-gather list directed to only one channel (Multichannel support), specified before starting the transfer.

 

Did I miss something?

 

0 Kudos
Observer rgallic_incjet
Observer
1,899 Views
Registered: ‎03-21-2017

Re: Xilinx AXI DMA SG Mode - Multi channel configuration

Does anybody use 'multi channel' AXI DMA with Linux?

I don't see a way to get a dma transfer to more than one stream at a time.

 

0 Kudos