[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1351378943.30380.332.camel@edumazet-glaptop>
Date: Sun, 28 Oct 2012 01:02:23 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Francois Romieu <romieu@...zoreil.com>
Cc: Javier Domingo <javierdo1@...il.com>, netdev@...r.kernel.org
Subject: Re: Information about napi_struct and net_device
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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists