Re: [PATCH v2] virtio-net: Fix the interpretation of max_tx_vq

2025-06-01 Thread Michael S. Tsirkin
On Sat, Mar 22, 2025 at 03:47:17PM +0900, Akihiko Odaki wrote: > virtio-net uses the max_tx_vq field of struct virtio_net_rss_config to > determine the number of queue pairs and emits an error message saying > "Can't get queue_pairs". However, the field tells only about tx. > > Examine unclassifie

Re: [PATCH v2] virtio-net: Fix the interpretation of max_tx_vq

2025-03-24 Thread Lei Yang
QE tested this patch with virtio-net regression tests, everything works fine. Tested-by: Lei Yang On Sat, Mar 22, 2025 at 2:48 PM Akihiko Odaki wrote: > > virtio-net uses the max_tx_vq field of struct virtio_net_rss_config to > determine the number of queue pairs and emits an error message sayi

[PATCH v2] virtio-net: Fix the interpretation of max_tx_vq

2025-03-22 Thread Akihiko Odaki
virtio-net uses the max_tx_vq field of struct virtio_net_rss_config to determine the number of queue pairs and emits an error message saying "Can't get queue_pairs". However, the field tells only about tx. Examine unclassified_queue and indirection_table to determine the number of queues required