]> git.ipfire.org Git - thirdparty/qemu.git/commit
virtio-net: Add hash type options
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Fri, 30 May 2025 04:33:21 +0000 (13:33 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 14 Jul 2025 09:25:34 +0000 (05:25 -0400)
commit729b5734197d1afad364bb025a827438bb85e050
tree1a79631438a674686bfa2bf92e89b206be7fa6a3
parentabef963a12e2bc266884b27677ff3cf94c09e512
virtio-net: Add hash type options

By default, virtio-net limits the hash types that will be advertised to
the guest so that all hash types are covered by the offloading
capability the client provides. This change allows to override this
behavior and to advertise hash types that require user-space hash
calculation by specifying "on" for the corresponding properties.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-Id: <20250530-vdpa-v1-6-5af4109b1c19@daynix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/net/virtio-net.c
include/hw/virtio/virtio-net.h