AnsweredAssumed Answered

DPAA fman dma addresses

Question asked by Sedat Altun on Jan 20, 2016
Latest reply on Jan 21, 2016 by Pavel Chubakov

I am trying to use SDK 1.9 DPAA on T4240 . I need how the physical addresses (that FMAN puts the etherent packets via DMA) are allocated for use of FMAN DMA.

My problem is about alignment. I need dword aligned skb->data  addresses after receiving packets from FMAN, but in dpa_rx routine after skb_pull  of ethernet header(14 bytes) I have skb->data addresses which are not dword aligned, but my hardware DMA requires dword aligned addresses so I need to change the skb->data address without loss of packet fields.

Any help will be appreciated.

Outcomes