02.08.2013 Views

P4080 PCIe Adapter SDK User Guide Production Release

P4080 PCIe Adapter SDK User Guide Production Release

P4080 PCIe Adapter SDK User Guide Production Release

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Freescale Semiconductor<br />

nlsdar – Next list descriptor address register<br />

ssr – Source stride register<br />

dsr – Destination stride register<br />

reserved1 – Reserved field<br />

struct dma_sw_desc {<br />

};<br />

struct dma_link_desc link_desc;<br />

u64 ring_index;<br />

u32 hw_fn_id;<br />

u32 operation;<br />

void *fd;<br />

void *ring_ptr;<br />

u8 align[8];<br />

link_desc – DMA link descriptor format<br />

ring_index – Current index of DMA ring<br />

hw_fn_id – Hardware Function identifier used for generating Rx interrupts<br />

operation – Type of operation. It is of type “enum dma_operation”<br />

fd – <strong>P4080</strong> Frame Descriptor associated with the software descriptor.<br />

ring_ptr – Pointer to the Tx/Rx ring on Host.<br />

align – Unused field. For future alignment purposes.<br />

struct dma_link_desc {<br />

u32 s_attr;<br />

u32 s_addr;<br />

u32 d_attr;<br />

u32 d_addr;<br />

u32 nlndea;<br />

© Freescale Semiconductor, Inc., 2011. All rights reserved.<br />

Freescale Confidential Proprietary Page 63

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!