[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v9 15/20] virtio-net: Always set populate_hash
From: |
Akihiko Odaki |
Subject: |
[PATCH v9 15/20] virtio-net: Always set populate_hash |
Date: |
Wed, 03 Apr 2024 20:11:03 +0900 |
The member is not cleared during reset so may have a stale value.
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
---
hw/net/virtio-net.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c
index 86929c9e1fad..2de073ce18fd 100644
--- a/hw/net/virtio-net.c
+++ b/hw/net/virtio-net.c
@@ -651,6 +651,7 @@ static void virtio_net_set_mrg_rx_bufs(VirtIONet *n, int
mergeable_rx_bufs,
n->guest_hdr_len = n->mergeable_rx_bufs ?
sizeof(struct virtio_net_hdr_mrg_rxbuf) :
sizeof(struct virtio_net_hdr);
+ n->rss_data.populate_hash = false;
}
for (i = 0; i < n->max_queue_pairs; i++) {
--
2.44.0
- Re: [PATCH v9 13/20] virtio-net: Return an error when vhost cannot enable RSS, (continued)
- Re: [PATCH v9 13/20] virtio-net: Return an error when vhost cannot enable RSS, Yuri Benditovich, 2024/04/15
- Re: [PATCH v9 13/20] virtio-net: Return an error when vhost cannot enable RSS, Jason Wang, 2024/04/16
- Re: [PATCH v9 13/20] virtio-net: Return an error when vhost cannot enable RSS, Yuri Benditovich, 2024/04/16
- Re: [PATCH v9 13/20] virtio-net: Return an error when vhost cannot enable RSS, Jason Wang, 2024/04/16
- Re: [PATCH v9 13/20] virtio-net: Return an error when vhost cannot enable RSS, Yuri Benditovich, 2024/04/16
- Re: [PATCH v9 13/20] virtio-net: Return an error when vhost cannot enable RSS, Jason Wang, 2024/04/17
- Re: [PATCH v9 13/20] virtio-net: Return an error when vhost cannot enable RSS, Akihiko Odaki, 2024/04/16
- Re: [PATCH v9 13/20] virtio-net: Return an error when vhost cannot enable RSS, Yuri Benditovich, 2024/04/20
- Re: [PATCH v9 13/20] virtio-net: Return an error when vhost cannot enable RSS, Yuri Benditovich, 2024/04/16
- [PATCH v9 14/20] virtio-net: Report RSS warning at device realization, Akihiko Odaki, 2024/04/03
- [PATCH v9 15/20] virtio-net: Always set populate_hash,
Akihiko Odaki <=
- [PATCH v9 16/20] virtio-net: Do not write hashes to peer buffer, Akihiko Odaki, 2024/04/03
- Re: [PATCH v9 16/20] virtio-net: Do not write hashes to peer buffer, Yuri Benditovich, 2024/04/07
- Re: [PATCH v9 16/20] virtio-net: Do not write hashes to peer buffer, Akihiko Odaki, 2024/04/07
- Re: [PATCH v9 16/20] virtio-net: Do not write hashes to peer buffer, Yuri Benditovich, 2024/04/08
- Re: [PATCH v9 16/20] virtio-net: Do not write hashes to peer buffer, Akihiko Odaki, 2024/04/08
- Re: [PATCH v9 16/20] virtio-net: Do not write hashes to peer buffer, Yuri Benditovich, 2024/04/08
- Re: [PATCH v9 16/20] virtio-net: Do not write hashes to peer buffer, Akihiko Odaki, 2024/04/08
- Re: [PATCH v9 16/20] virtio-net: Do not write hashes to peer buffer, Yuri Benditovich, 2024/04/08
- Re: [PATCH v9 16/20] virtio-net: Do not write hashes to peer buffer, Akihiko Odaki, 2024/04/08
- [PATCH v9 18/20] ebpf: Return 0 when configuration fails, Akihiko Odaki, 2024/04/03