On Sat, 2012-10-27 at 20:22 +0200, Francois Romieu wrote:
Not all drivers use napi_gro_receive/napi_gro_flush.
Yes, note that I only mentioned "grep napi", not these specific verbs
Also, napi_gro_receive() could be used now GRO doesnt mandate hardware
checksums.
It could be worth comparing with drivers/net/ethernet/via/via-rhine.c (small)
or drivers/net/ethernet/broadcom/tg3.c (bigger).
Unfortunately tg3.c uses internal stuff sith napi substring, so I
ignored it :
$ grep napi drivers/net/ethernet/broadcom/tg3.c | wc -l
376