]> git.ipfire.org Git - thirdparty/qemu.git/commit - hw/net/net_tx_pkt.c
hw/net/net_tx_pkt: Automatically determine if virtio-net header is used
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Thu, 23 Feb 2023 10:20:06 +0000 (19:20 +0900)
committerJason Wang <jasowang@redhat.com>
Fri, 10 Mar 2023 07:35:38 +0000 (15:35 +0800)
commit55daf493f7659b512e668f61ce4561dc60a27302
treec69718bbea9a39bfb0f63f05ccd493adcfd5c10f
parent481c52320a26e2e3a3c8a1cdac3d1460b9b15d13
hw/net/net_tx_pkt: Automatically determine if virtio-net header is used

The new function qemu_get_using_vnet_hdr() allows to automatically
determine if virtio-net header is used.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/e1000e_core.c
hw/net/net_tx_pkt.c
hw/net/net_tx_pkt.h
hw/net/vmxnet3.c