]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/net/ethernet/via/via-velocity.c: update napi implementation
authorJulia Lawall <Julia.Lawall@lip6.fr>
Wed, 14 Aug 2013 14:26:53 +0000 (16:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Aug 2013 08:38:34 +0000 (01:38 -0700)
commit2acbaa93a7f07d809bfb329acfdacdd55b011c76
tree2b00818ed922c660f78e9805bda3226dcf237798
parent4562229072a72d9e7251ed7d3ddee8750014b50b
drivers/net/ethernet/via/via-velocity.c: update napi implementation

Drivers supporting NAPI should use a NAPI-specific function for receiving
packets.  Hence netif_rx is changed to netif_receive_skb.

Furthermore netif_napi_del should be used in the probe and remove function
to clean up the NAPI resource information.

Thanks to Francois Romieu, David Shwatrz and Rami Rosen for their help on
this patch.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/via/via-velocity.c