]> git.baikalelectronics.ru Git - kernel.git/commit
xen-netback: move NAPI add/remove calls
authorWei Liu <wei.liu2@citrix.com>
Tue, 12 Aug 2014 10:48:06 +0000 (11:48 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Aug 2014 03:07:44 +0000 (20:07 -0700)
commit4a5b5b357317e158d71feabdd423db060d1be815
treef54d00e659f58fbe53ba5683faa1f7c301b9c755
parent9a48b63a1639a12c2f4c85efea3719384c0805ed
xen-netback: move NAPI add/remove calls

Originally netif_napi_add was in xenvif_init_queue and netif_napi_del
was in xenvif_deinit_queue, while kthreads were handled in
xenvif_connect and xenvif_disconnect. Move netif_napi_add and
netif_napi_del to xenvif_connect and xenvif_disconnect so that they
reside together with kthread operations.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Zoltan Kiss <zoltan.kiss@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/interface.c