Skip to content

virtio_net: Make RSS interact properly with queue number

Philo Lu lkml netdev virtualization 1 version Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 9 repliesApplied 4/4

Patches in v1 All 4 applied

#Subject and filesSizeRepliesApplied
1/4virtio_net: Support dynamic rss indirection table sizedrivers/net/virtio_net.c+34 -51 replyApplied
2/4virtio_net: Add hash_key_length checkdrivers/net/virtio_net.c+6 -01 replyApplied
3/4virtio_net: Sync rss config to device when virtnet_probedrivers/net/virtio_net.c+9 -01 replyApplied
4/4virtio_net: Update rss when set queuedrivers/net/virtio_net.c+51 -143 repliesApplied

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJoe DamatoMichael S. Tsirkin
SeriesA-b
1/4A-b
2/4A-b
3/4A-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net 0/4] virtio_net: Make RSS interact properly with queue number

With this patch set, RSS updates with queue_pairs changing:
- When virtnet_probe, init default rss and commit
- When queue_pairs changes _without_ user rss configuration, update rss with the new queue number
- When queue_pairs changes _with_ user rss configuration, keep rss as user configured

Patch 1 and 2 fix possible out of bound errors for indir_table and key. Patch 3 and 4 add RSS update in probe() and set_queues().

Please review, thanks.

Philo Lu (4):
virtio_net: Support dynamic rss indirection table size
virtio_net: Add hash_key_length check
virtio_net: Sync rss config to device when virtnet_probe
virtio_net: Update rss when set queue

 drivers/net/virtio_net.c | 119 ++++++++++++++++++++++++++++++++-------
 1 file changed, 100 insertions(+), 19 deletions(-)

--
2.32.0.3.g01195cf9f