diff options
author | Wanlong Gao <gaowanlong@cn.fujitsu.com> | 2013-01-24 23:51:31 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-27 01:22:51 -0500 |
commit | 8de4b2f3ae90c8fc0f17eeaab87d5a951b66ee17 (patch) | |
tree | f46a5ec6dd1e2654d61ee72606bdd5b672c739c3 /drivers/net/irda/w83977af.h | |
parent | 8898c21cf37d04041863e7ecf53707dff504bda0 (diff) | |
download | op-kernel-dev-8de4b2f3ae90c8fc0f17eeaab87d5a951b66ee17.zip op-kernel-dev-8de4b2f3ae90c8fc0f17eeaab87d5a951b66ee17.tar.gz |
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/irda/w83977af.h')
0 files changed, 0 insertions, 0 deletions