diff options
| author | Willem de Bruijn <[email protected]> | 2019-01-17 20:08:53 -0500 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-01-19 10:05:30 -0800 |
| commit | 133bbb18ab1a2f5549435c5a3126413344ddbcb8 (patch) | |
| tree | 7744a3f5a38ce587b6f7bf4348e008b3187db865 /scripts/gdb/linux/proc.py | |
| parent | 5f2939d933e9616b8b779fa46963689000f1a8f4 (diff) | |
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 <[email protected]>
Signed-off-by: Willem de Bruijn <[email protected]>
Acked-by: Jason Wang <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions