Messages in this thread | | | Subject | Re: [PATCH v2] net: stmmac: add BQL support | From | Eric Dumazet <> | Date | Wed, 21 Jan 2015 10:37:03 -0800 |
| |
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 <b.galvani@gmail.com> > --- > 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 !
| |