summaryrefslogtreecommitdiffstats
path: root/c/src/libchip/network/dwmac-core.h
diff options
context:
space:
mode:
authorRalf Kirchner <ralf.kirchner@embedded-brains.de>2014-04-10 17:06:14 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-04-17 13:24:07 +0200
commit1613a01bb0831603109d5281502c681fcb1776f4 (patch)
tree3af0a00e904838a26d17ad4be1dd4ea0f136222d /c/src/libchip/network/dwmac-core.h
parentlibchip: Cleanup (diff)
downloadrtems-1613a01bb0831603109d5281502c681fcb1776f4.tar.bz2
libchip: Reduce tx interrupts
Reduce number of packet transmitted interrupts by using the interrupt mechanism only if we run out of DMA descriptors. Under normal conditions regaining DMA descriptors, mbufs and clusters is handled via a counter.
Diffstat (limited to 'c/src/libchip/network/dwmac-core.h')
-rw-r--r--c/src/libchip/network/dwmac-core.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/c/src/libchip/network/dwmac-core.h b/c/src/libchip/network/dwmac-core.h
index 3a35d00729..0f3ba390fb 100644
--- a/c/src/libchip/network/dwmac-core.h
+++ b/c/src/libchip/network/dwmac-core.h
@@ -55,9 +55,13 @@ void dwmac_core_dma_restart_tx( dwmac_common_context *self );
void dwmac_core_enable_dma_irq_rx( dwmac_common_context *self );
-void dwmac_core_enable_dma_irq_tx( dwmac_common_context *self );
+void dwmac_core_enable_dma_irq_tx_default( dwmac_common_context *self );
-void dwmac_core_disable_dma_irq_tx( dwmac_common_context *self );
+void dwmac_core_enable_dma_irq_tx_transmitted( dwmac_common_context *self );
+
+void dwmac_core_disable_dma_irq_tx_all( dwmac_common_context *self );
+
+void dwmac_core_disable_dma_irq_tx_transmitted( dwmac_common_context *self );
void dwmac_core_disable_dma_irq_rx( dwmac_common_context *self );