]> git.openfabrics.org - ~emulex/infiniband.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)
commitea2c5e134237eadc9924ce821ded678750024549
treef54d00e659f58fbe53ba5683faa1f7c301b9c755
parent68809958710ac80e2fad387edd6383f422498f9e
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