From: Willem de Bruijn <willemdebruijn.ker...@gmail.com>
Date: Thu, 17 Jan 2019 20:08:53 -0500

> From: Willem de Bruijn <will...@google.com>
> 
> 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 <mhl...@google.com>
> Signed-off-by: Willem de Bruijn <will...@google.com>

Applied, thanks Willem.

Reply via email to