Thread (11 messages) 11 messages, 6 authors, 2012-10-29

Re: Information about napi_struct and net_device

flat view

From: Eric Dumazet <hidden>
Date: 2012-10-27 23:02:28

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help