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 /include/net | |
parent | a67753710d5fe6c0eef95229ff5fd9cafb78d862 (diff) | |
download | qemu-b9ad513e187669db8f5ac238028f6bf25a17c641.zip qemu-b9ad513e187669db8f5ac238028f6bf25a17c641.tar.gz qemu-b9ad513e187669db8f5ac238028f6bf25a17c641.tar.bz2 |
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 'include/net')
-rw-r--r-- | include/net/net.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/net.h b/include/net/net.h index 6fe5a0a..c8f6797 100644 --- a/include/net/net.h +++ b/include/net/net.h @@ -72,7 +72,6 @@ typedef struct NetClientInfo { NetClientDriver type; size_t size; NetReceive *receive; - NetReceive *receive_raw; NetReceiveIOV *receive_iov; NetCanReceive *can_receive; NetStart *start; |