virtio-net: Add support for USO features
commit53da8b5a992deab25d4f53233891b1aeed7104a6
authorYuri Benditovich <yuri.benditovich@daynix.com>
Mon, 31 Jul 2023 22:31:48 +0000 (1 01:31 +0300)
committerJason Wang <jasowang@redhat.com>
Mon, 18 Sep 2023 06:36:13 +0000 (18 14:36 +0800)
tree8e0dc67745977d4b9f0d42f2917a14ddd63b895b
parent9da1684954d10b4d22277b93b4c03e89d38976a1
virtio-net: Add support for USO features

USO features of virtio-net device depend on kernel ability
to support them, for backward compatibility by default the
features are disabled on 8.0 and earlier.

Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
Signed-off-by: Andrew Melnychecnko <andrew@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/core/machine.c
hw/net/virtio-net.c