linux/drivers/net/ethernet/stmicro/stmmac
Giuseppe CAVALLARO 9125cdd1be stmmac: add the initial tx coalesce schema
This patch adds a new schema used for mitigating the
number of transmit interrupts.
It is based on a SW timer and a threshold value.
The timer is used to periodically call the stmmac_tx_clean
function; the threshold is used for setting the IC (Interrupt
on Completion bit). The ISR will then invoke the poll method.
Also the patch improves some ethtool stat fields.

V2: review the logic to manage the IC bit in the TDESC
that was bugged because it didn't take care about the
fragments. Also fix the tx_count_frames that has not to be
limited to TX DMA ring. Thanks to Ben Hutchings.

V3: removed the spin_lock irqsave/restore as D. Miller suggested.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-11-26 17:22:10 -05:00
..
Kconfig stmmac: remove dead code for STMMAC_TIMER support 2012-11-26 17:22:10 -05:00
Makefile stmmac: remove dead code for STMMAC_TIMER support 2012-11-26 17:22:10 -05:00
chain_mode.c
common.h stmmac: add the initial tx coalesce schema 2012-11-26 17:22:10 -05:00
descs.h stmmac: add header inclusion protection 2012-08-24 13:25:05 -04:00
descs_com.h stmmac: add header inclusion protection 2012-08-24 13:25:05 -04:00
dwmac100.h stmmac: add header inclusion protection 2012-08-24 13:25:05 -04:00
dwmac100_core.c stmmac: add the Energy Efficient Ethernet support 2012-07-01 03:34:50 -07:00
dwmac100_dma.c stmmac: add mixed burst for DMA 2012-05-14 18:53:19 -04:00
dwmac1000.h stmmac: add header inclusion protection 2012-08-24 13:25:05 -04:00
dwmac1000_core.c stmmac: add the Energy Efficient Ethernet support 2012-07-01 03:34:50 -07:00
dwmac1000_dma.c stmmac: add mixed burst for DMA 2012-05-14 18:53:19 -04:00
dwmac_dma.h stmmac: add header inclusion protection 2012-08-24 13:25:05 -04:00
dwmac_lib.c stmmac: add the initial tx coalesce schema 2012-11-26 17:22:10 -05:00
enh_desc.c stmmac: sanitize the rx coe and add the type-1 csum (v2) 2012-04-04 18:39:23 -04:00
mmc.h stmmac: add header inclusion protection 2012-08-24 13:25:05 -04:00
mmc_core.c stmmac: fix a typo in the macro used to mask the mmc irq 2012-08-22 19:14:31 -07:00
norm_desc.c stmmac: sanitize the rx coe and add the type-1 csum (v2) 2012-04-04 18:39:23 -04:00
ring_mode.c stmmac: Fix for higher mtu size handling 2012-07-09 14:37:52 -07:00
stmmac.h stmmac: add the initial tx coalesce schema 2012-11-26 17:22:10 -05:00
stmmac_ethtool.c stmmac: add the initial tx coalesce schema 2012-11-26 17:22:10 -05:00
stmmac_main.c stmmac: add the initial tx coalesce schema 2012-11-26 17:22:10 -05:00
stmmac_mdio.c net:stmmac: Remove bus_id from mdio platform data. 2012-08-31 16:11:28 -04:00
stmmac_pci.c net:stmmac: Remove bus_id from mdio platform data. 2012-08-31 16:11:28 -04:00
stmmac_platform.c net:stmmac: convert driver to use devm_request_and_ioremap. 2012-08-31 16:11:37 -04:00