]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit2fdac010bdcf10a30711b6924612dfc40daf19b8
tree2b00818ed922c660f78e9805bda3226dcf237798
parent728e2ccaa3c4d20cf4d54b73a47956bf4d334a9f
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