diff options
author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2024-11-22 14:03:09 +0900 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2024-11-25 14:00:04 +0800 |
commit | 162bdb8113d32e2efb3c6967e3828d4f0c4e14e0 (patch) | |
tree | e0fb1b5cb39e501b73eba81c731b893822b33139 /rust/qemu-api | |
parent | a8575f7fb2f213e6690b23160b04271d47fdfaa8 (diff) | |
download | qemu-162bdb8113d32e2efb3c6967e3828d4f0c4e14e0.zip qemu-162bdb8113d32e2efb3c6967e3828d4f0c4e14e0.tar.gz qemu-162bdb8113d32e2efb3c6967e3828d4f0c4e14e0.tar.bz2 |
virtio-net: Do not check for the queue before RSS
virtio_net_can_receive() checks if the queue is ready, but RSS will
change the queue to use so, strictly speaking, we may still be able to
receive the packet even if the queue initially provided is not ready.
Perform RSS before virtio_net_can_receive() to cover such a case.
Fixes: 4474e37a5b3a ("virtio-net: implement RX RSS processing")
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'rust/qemu-api')
0 files changed, 0 insertions, 0 deletions