commit | 2ca653d607ce59f2729173a7ea56dbfa6330ec88 | [log] [tgz] |
---|---|---|
author | Caleb Raitto <caraitto@google.com> | Thu Aug 09 17:28:40 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sat Aug 11 12:02:18 2018 -0700 |
tree | 6ef31a69ef832a78efc2e40bb148a414f5f7480c | |
parent | 19e226e8cc5da02f17ed119f9137036c0f0f5d80 [diff] |
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: Caleb Raitto <caraitto@google.com> Signed-off-by: Willem de Bruijn <willemb@google.com> Acked-by: Jon Olson <jonolson@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>