cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor
8,012 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
Highlighted
Scholar
Scholar
5,975 Views
Registered: ‎06-10-2008

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

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

0 Kudos