Thread (4 messages) flat view 4 messages, 4 authors, 2015-01-27

Re: [PATCH v2] net: stmmac: add BQL support

From: Eric Dumazet <hidden>
Date: 2015-01-21 18:37:20
Also in: lkml

On Wed, 2015-01-21 at 19:07 +0100, Beniamino Galvani wrote:
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 <redacted>
---
Changes since v1:
 - don't access skb->len after the start of DMA transmission in
   stmmac_xmit(), to avoid potential use after free in case tx_lock is
   removed in the future

 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 9 +++++++++
 1 file changed, 9 insertions(+)
Reviewed-by: Eric Dumazet <edumazet@google.com>

Thanks !
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help