]> 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)
commitce295d2fbea235b2e0a3e57df9249c386c0015c1
tree2b00818ed922c660f78e9805bda3226dcf237798
parent5094aeae4ed15bbf363f0f58008bb54e5048ba9a
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