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

2025-04-05 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 the indirection table to determine the number of queues required for rx, and correct

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

2025-04-04 Thread Akihiko Odaki
On 2025/03/21 19:44, Yuri Benditovich wrote: On Fri, Mar 21, 2025 at 11:56 AM 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 o

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

2025-04-04 Thread Yuri Benditovich
On Fri, Mar 21, 2025 at 11:56 AM 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 the indirection ta