xemu/hw/dma
Peter Crosthwaite 3630ae952a xilinx_axienet/dma: Implement rx path flow control
Implement flow control for the RX data path from xilinx_axienet->xilinx_axidma.
On short return from axidma, then ethernet sets up the notify callback to resume
transfer from where it left off.

This also allows the ethernet to track whether there is an in progress transaction
and return false from ethernet can_receive() as appropriate.

If the DMA backs up or is disabled it waits for enablement. When the rx stream IO
region is touched, the can_push() notify function is called if set.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2013-04-16 10:04:23 +02:00
..
etraxfs_dma.c hw: move DMA controllers to hw/dma/, configure with default-configs/ 2013-04-08 18:13:14 +02:00
i8257.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
i82374.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
Makefile.objs hw: move DMA controllers to hw/dma/, configure with default-configs/ 2013-04-08 18:13:14 +02:00
omap_dma.c hw: move DMA controllers to hw/dma/, configure with default-configs/ 2013-04-08 18:13:14 +02:00
pl080.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
pl330.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
puv3_dma.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
pxa2xx_dma.c hw: move DMA controllers to hw/dma/, configure with default-configs/ 2013-04-08 18:13:14 +02:00
rc4030.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
soc_dma.c hw: move DMA controllers to hw/dma/, configure with default-configs/ 2013-04-08 18:13:14 +02:00
sparc32_dma.c hw: move DMA controllers to hw/dma/, configure with default-configs/ 2013-04-08 18:13:14 +02:00
sun4m_iommu.c hw: move DMA controllers to hw/dma/, configure with default-configs/ 2013-04-08 18:13:14 +02:00
xilinx_axidma.c xilinx_axienet/dma: Implement rx path flow control 2013-04-16 10:04:23 +02:00