diff options
| author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2024-07-01 20:58:04 +0900 |
|---|---|---|
| committer | Jason Wang <jasowang@redhat.com> | 2024-08-02 11:08:44 +0800 |
| commit | f1595ceb9aad36a6c1da95bcb77ab9509b38822d (patch) | |
| tree | 06ecd0b88075b0b515dd29ab48a3882559c582bf /hw/virtio/virtio.c | |
| parent | 9e3b9f27658cce308b7f71b19a4ec31749575414 (diff) | |
| download | focaccia-qemu-f1595ceb9aad36a6c1da95bcb77ab9509b38822d.tar.gz focaccia-qemu-f1595ceb9aad36a6c1da95bcb77ab9509b38822d.zip | |
virtio-net: Ensure queue index fits with RSS
Ensure the queue index points to a valid queue when software RSS
enabled. The new calculation matches with the behavior of Linux's TAP
device with the RSS eBPF program.
Fixes: 4474e37a5b3a ("virtio-net: implement RX RSS processing")
Reported-by: Zhibin Hu <huzhibin5@huawei.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/virtio/virtio.c')
0 files changed, 0 insertions, 0 deletions