aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/loopback.c
diff options
context:
space:
mode:
authorWanlong Gao <gaowanlong@cn.fujitsu.com>2013-01-24 23:51:31 +0000
committerDavid S. Miller <davem@davemloft.net>2013-01-27 01:22:51 -0500
commit8de4b2f3ae90c8fc0f17eeaab87d5a951b66ee17 (patch)
treef46a5ec6dd1e2654d61ee72606bdd5b672c739c3 /drivers/net/loopback.c
parentvirtio-net: split out clean affinity function (diff)
downloadlinux-dev-8de4b2f3ae90c8fc0f17eeaab87d5a951b66ee17.tar.xz
linux-dev-8de4b2f3ae90c8fc0f17eeaab87d5a951b66ee17.zip
virtio-net: reset virtqueue affinity when doing cpu hotplug
Add a cpu notifier to virtio-net, so that we can reset the virtqueue affinity if the cpu hotplug happens. It improve the performance through enabling or disabling the virtqueue affinity after doing cpu hotplug. Cc: Rusty Russell <rusty@rustcorp.com.au> Cc: "Michael S. Tsirkin" <mst@redhat.com> Cc: Jason Wang <jasowang@redhat.com> Cc: Eric Dumazet <erdnetdev@gmail.com> Cc: "David S. Miller" <davem@davemloft.net> Cc: virtualization@lists.linux-foundation.org Cc: netdev@vger.kernel.org Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/loopback.c')
0 files changed, 0 insertions, 0 deletions