diff options
author | Wanlong Gao <[email protected]> | 2013-01-24 23:51:31 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2013-01-27 01:22:51 -0500 |
commit | 8de4b2f3ae90c8fc0f17eeaab87d5a951b66ee17 (patch) | |
tree | f46a5ec6dd1e2654d61ee72606bdd5b672c739c3 /net/unix/af_unix.c | |
parent | 8898c21cf37d04041863e7ecf53707dff504bda0 (diff) |
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 <[email protected]>
Cc: "Michael S. Tsirkin" <[email protected]>
Cc: Jason Wang <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Wanlong Gao <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions