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!

AR# 60979

14.7 EDK, AXI Ethernet - How do I send multiple packets with AXI DMA scatter/gather?

Description

How do I send multiple packets with AXI DMA scatter/gather?

Solution

You can refer to "AxiEthernetSgDmaIntrCoalescingExample()" in xaxiethernet_example_intr_sgdma.c.

In this example, a total of 10 packets will be sent.

u16 Threshold = 10; 
Status = XAxiDma_BdRingSetCoalesce(TxRingPtr, Threshold, 255);


"10" will be set to the register S2MM DMACR Register.IRQThreshold in AXI DMA.

AR# 60979
Date Created 06/04/2014
Last Updated 11/05/2014
Status Active
Type General Article
Tools
  • ISE Design Suite - 14
IP
  • AXI Ethernet