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

rosenp at gmail.com rosenp at gmail.com
Mon May 29 16:17:17 PDT 2017


Hmm how about driver side? looking at the source code,
register_netdevice enables GSO and GRO by default. Any way to
explicitly disable it?

On Mon, 2017-05-29 at 14:34 -0700, Florian Fainelli wrote:
> 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
> > 
> 
> 



More information about the Lede-dev mailing list