summaryrefslogtreecommitdiffstats
path: root/net/netlink
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2019-01-17 20:08:53 -0500
committerDavid S. Miller <davem@davemloft.net>2019-01-19 10:05:30 -0800
commit133bbb18ab1a2f5549435c5a3126413344ddbcb8 (patch)
tree7744a3f5a38ce587b6f7bf4348e008b3187db865 /net/netlink
parent5f2939d933e9616b8b779fa46963689000f1a8f4 (diff)
downloadlinux-133bbb18ab1a2f5549435c5a3126413344ddbcb8.tar.gz
linux-133bbb18ab1a2f5549435c5a3126413344ddbcb8.tar.bz2
linux-133bbb18ab1a2f5549435c5a3126413344ddbcb8.zip
virtio-net: per-queue RPS config
On multiqueue network devices, RPS maps are configured independently for each receive queue through /sys/class/net/$DEV/queues/rx-*. On virtio-net currently all packets use the map from rx-0, because the real rx queue is not known at time of map lookup by get_rps_cpu. Call skb_record_rx_queue in the driver rx path to make lookup work. Recording the receive queue has ramifications beyond RPS, such as in sticky load balancing decisions for sockets (skb_tx_hash) and XPS. Reported-by: Mark Hlady <mhlady@google.com> Signed-off-by: Willem de Bruijn <willemb@google.com> Acked-by: Jason Wang <jasowang@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlink')
0 files changed, 0 insertions, 0 deletions