Skip to content
Commit 19e226e8 authored by Caleb Raitto's avatar Caleb Raitto Committed by David S. Miller
Browse files

virtio: Make vp_set_vq_affinity() take a mask.

Make vp_set_vq_affinity() take a cpumask instead of taking a single CPU.

If there are fewer queues than cores, queue affinity should be able to
map to multiple cores.

Link: https://patchwork.ozlabs.org/patch/948149/


Suggested-by: default avatarWillem de Bruijn <willemb@google.com>
Signed-off-by: default avatarCaleb Raitto <caraitto@google.com>
Acked-by: default avatarGonglei <arei.gonglei@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 07624df1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment