Re: [PATCH net-next-2.6] gro: __napi_gro_receive() optimizations
From: Eric Dumazet <hidden>
Date: 2010-08-26 09:03:59
From: Eric Dumazet <hidden>
Date: 2010-08-26 09:03:59
Le jeudi 26 août 2010 à 00:51 -0700, David Miller a écrit :
From: Eric Dumazet <redacted> Date: Wed, 25 Aug 2010 23:15:11 +0200quoted
Yes, we can inline it, this will speedup the non vlan case as well :)Agreed. But I believe you can find a better place to put __napi_gro_receive() than etherdevice.h, even though yes it does have a hard dependency on that thing. :-)
I tried but failed :( Or move __napi_gro_receive() in a new header, because etherdevice.h needs to include netdevice.h (is_etherdev_addr(), dev_hw_addr_random())