[LEDE-DEV] Generic way to disable Generic Receive Offload (GRO)

Florian Fainelli f.fainelli at gmail.com
Mon May 29 14:34:09 PDT 2017


Le 05/29/17 à 13:55, rosenp at gmail.com a écrit :
> So LEDE is using fq_codel by default. On the cake homepage is this
> little sentence:
> 
> "Preliminary indications are that not doing GRO “peeling” is where the
> first generation of fq_codel enabled 802.11ac routers went wrong in
> their QoS systems."
> 
> On my Archer C7v2, I've been able to observe that by disabling GRO
> using ethtool, I've been able to get a 1-2ms reduction in my overall
> latency when browsing the internet.
> 
> Anyone know if there is a way to disable GRO without having to install
> ethtool?

ethtool just send an ioctl so you can write a few lines of C code that
would do the same thing.

> 
> On a side note, the ethernet driver for the Archer needs some love.
> It's not using the correct API for GRO (using netif_receive_skb instead
> of napi_gro_receive).
> 
> _______________________________________________
> Lede-dev mailing list
> Lede-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev
> 


-- 
Florian



More information about the Lede-dev mailing list