diff options
| author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2025-05-30 13:33:19 +0900 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2025-07-14 05:25:34 -0400 |
| commit | 7b6e7e49905d0682f67ae4d02fc9edc4a2ec7df5 (patch) | |
| tree | b5e944d7724cda6955c4e33d55ab8107d427ce29 /include/hw/virtio/virtio-net.h | |
| parent | 2deec9ab7d25d7cd8f57033bd0421c1f9f28d905 (diff) | |
| download | focaccia-qemu-7b6e7e49905d0682f67ae4d02fc9edc4a2ec7df5.tar.gz focaccia-qemu-7b6e7e49905d0682f67ae4d02fc9edc4a2ec7df5.zip | |
virtio-net: Retrieve peer hashing capability
Retrieve peer hashing capability instead of hardcoding. Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Message-Id: <20250530-vdpa-v1-4-5af4109b1c19@daynix.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/virtio/virtio-net.h')
| -rw-r--r-- | include/hw/virtio/virtio-net.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/hw/virtio/virtio-net.h b/include/hw/virtio/virtio-net.h index b9ea9e824e..c4957c44c0 100644 --- a/include/hw/virtio/virtio-net.h +++ b/include/hw/virtio/virtio-net.h @@ -144,7 +144,10 @@ typedef struct VirtioNetRssData { bool enabled_software_rss; bool redirect; bool populate_hash; - uint32_t hash_types; + bool peer_hash_available; + uint32_t runtime_hash_types; + uint32_t supported_hash_types; + uint32_t peer_hash_types; uint8_t key[VIRTIO_NET_RSS_MAX_KEY_SIZE]; uint16_t indirections_len; uint16_t *indirections_table; |