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: 
Highlighted
Participant add_engineering
Participant
7,969 Views
Registered: ‎03-09-2015

Xilinx AXIDMA driver SG Mode API problem?

Hi,

 

I am currently using the xilinx_axidma driver in the Linux environment (for the reception of streaming data). All seems to work fine, except for the fact that I do not seem to be able to find the length of the data that is available in the buffers.

After the transaction is completed, the xilinx_axidma driver will perform a callback which ends up in my driver. But how would you know how much data is available in the buffers that have been submitted/attached to the Scatter Gather list?

Can anyone shine his/her light on this?

 

Thank you very much in advance.

Raket

0 Kudos
1 Reply
Scholar vanmierlo
Scholar
5,932 Views
Registered: ‎06-10-2008

Re: Xilinx AXIDMA driver SG Mode API problem?

This is not implemented in the xilinx_axidma kernel driver. See also:

https://github.com/Xilinx/linux-xlnx/issues/20

0 Kudos