]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: add BQL support
authorBeniamino Galvani <b.galvani@gmail.com>
Wed, 21 Jan 2015 18:07:27 +0000 (19:07 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Jan 2015 23:22:15 +0000 (15:22 -0800)
commit58967890d3a027fe3b1c2693b94600c0adb74f1c
treec98c305d5d60eb1174cc79499b7b6579e7043868
parentf1d062336dfe9389bfa9dcba41c9812ed6321150
net: stmmac: add BQL support

Add support for Byte Queue Limits to the STMicro MAC driver.

Tested on a Amlogic S802 quad Cortex-A9 board, where the use of BQL
decreases the latency of a high priority ping from ~12ms to ~1ms when
the 100Mbit link is saturated by 20 TCP streams.

Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c