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

virtio_net: Stripe queue affinities across cores.



Always set the affinity hint, even if #cpu != #vq.

Handle the case where #cpu > #vq (including when #cpu % #vq != 0) and
when #vq > #cpu (including when #vq % #cpu != 0).

Signed-off-by: default avatarCaleb Raitto <caraitto@google.com>
Signed-off-by: default avatarWillem de Bruijn <willemb@google.com>
Acked-by: default avatarJon Olson <jonolson@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 19e226e8
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