Re: [PATCH net-next] net: bcmgenet: use napi_complete_done()

2016-04-13 Thread David Miller
From: Eric Dumazet Date: Fri, 08 Apr 2016 22:06:40 -0700 > From: Eric Dumazet > > By using napi_complete_done(), we allow fine tuning > of /sys/class/net/ethX/gro_flush_timeout for higher GRO aggregation > efficiency for a Gbit NIC. > > Check commit 24d2e4a50737 ("tg3: use napi_complete_done()

Re: [PATCH net-next] net: bcmgenet: use napi_complete_done()

2016-04-09 Thread Petri Gynther
On Fri, Apr 8, 2016 at 10:06 PM, Eric Dumazet wrote: > From: Eric Dumazet > > By using napi_complete_done(), we allow fine tuning > of /sys/class/net/ethX/gro_flush_timeout for higher GRO aggregation > efficiency for a Gbit NIC. > > Check commit 24d2e4a50737 ("tg3: use napi_complete_done()") for

Re: [PATCH net-next] net: bcmgenet: use napi_complete_done()

2016-04-08 Thread Eric Dumazet
On Fri, 2016-04-08 at 22:19 -0700, Florian Fainelli wrote: > Along the same line of changes, we could use napi_schedule_irqoff since NAPI > is always scheduled from ISR context. Good point, I'll cook the patch ;) Thanks !

Re: [PATCH net-next] net: bcmgenet: use napi_complete_done()

2016-04-08 Thread Florian Fainelli
On April 8, 2016 10:06:40 PM PDT, Eric Dumazet wrote: >From: Eric Dumazet > >By using napi_complete_done(), we allow fine tuning >of /sys/class/net/ethX/gro_flush_timeout for higher GRO aggregation >efficiency for a Gbit NIC. > >Check commit 24d2e4a50737 ("tg3: use napi_complete_done()") for >det

[PATCH net-next] net: bcmgenet: use napi_complete_done()

2016-04-08 Thread Eric Dumazet
From: Eric Dumazet By using napi_complete_done(), we allow fine tuning of /sys/class/net/ethX/gro_flush_timeout for higher GRO aggregation efficiency for a Gbit NIC. Check commit 24d2e4a50737 ("tg3: use napi_complete_done()") for details. Signed-off-by: Eric Dumazet Cc: Petri Gynther Cc: Flor