diff options
| author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2024-04-28 16:00:47 +0900 |
|---|---|---|
| committer | Jason Wang <jasowang@redhat.com> | 2024-06-04 15:14:26 +0800 |
| commit | b9ad513e187669db8f5ac238028f6bf25a17c641 (patch) | |
| tree | 7e7aef2866b1ada836ef0cc4e0b051d104f81dfa /hw/net/virtio-net.c | |
| parent | a67753710d5fe6c0eef95229ff5fd9cafb78d862 (diff) | |
| download | focaccia-qemu-b9ad513e187669db8f5ac238028f6bf25a17c641.tar.gz focaccia-qemu-b9ad513e187669db8f5ac238028f6bf25a17c641.zip | |
net: Remove receive_raw()
While netmap implements virtio-net header, it does not implement
receive_raw(). Instead of implementing receive_raw for netmap, add
virtio-net headers in the common code and use receive_iov()/receive()
instead. This also fixes the buffer size for the virtio-net header.
Fixes: fbbdbddec0 ("tap: allow extended virtio header with hash info")
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions