summary refs log tree commit diff stats
path: root/hw/net/virtio-net.c
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2021-03-17 14:26:28 +0800
committerJason Wang <jasowang@redhat.com>2021-03-22 17:34:31 +0800
commit935344bed6769d6bcb74c6d992818929a6ccb35b (patch)
tree3891a679175c09ce6986f4961e19539d684d825c /hw/net/virtio-net.c
parentaf774513f7d646badfdb5b686650254f7f08af6b (diff)
downloadfocaccia-qemu-935344bed6769d6bcb74c6d992818929a6ccb35b.tar.gz
focaccia-qemu-935344bed6769d6bcb74c6d992818929a6ccb35b.zip
net: Add a 'do_not_pad" to NetClientState
This adds a flag in NetClientState, so that a net client can tell
its peer that the packets do not need to be padded to the minimum
size of an Ethernet frame (60 bytes) before sending to it.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions