aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/jme.h
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2013-11-05 18:19:45 +0800
committerDavid S. Miller <davem@davemloft.net>2013-11-05 22:20:29 -0500
commit9bb8ca86075f37d3c169b9c46f8e7c6d3165e18f (patch)
tree22cce2f2704f6673d37c720c7ebbfa1a98a4b7a2 /drivers/net/ethernet/jme.h
parentipv6: drop the judgement in rt6_alloc_cow() (diff)
downloadlinux-dev-9bb8ca86075f37d3c169b9c46f8e7c6d3165e18f.tar.xz
linux-dev-9bb8ca86075f37d3c169b9c46f8e7c6d3165e18f.zip
virtio-net: switch to use XPS to choose txq
We used to use a percpu structure vq_index to record the cpu to queue mapping, this is suboptimal since it duplicates the work of XPS and loses all other XPS functionality such as allowing user to configure their own transmission steering strategy. So this patch switches to use XPS and suggest a default mapping when the number of cpus is equal to the number of queues. With XPS support, there's no need for keeping per-cpu vq_index and .ndo_select_queue(), so they were removed also. Cc: Rusty Russell <rusty@rustcorp.com.au> Cc: Michael S. Tsirkin <mst@redhat.com> Acked-by: Rusty Russell <rusty@rustcorp.com.au> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/jme.h')
0 files changed, 0 insertions, 0 deletions