mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-01 22:23:23 -10:00
tap: allow extended virtio header with hash info
Signed-off-by: Yuri Benditovich <[email protected]> Signed-off-by: Jason Wang <[email protected]>
This commit is contained in:
1 parent
4474e37a5b
commit
fbbdbddec0
1 file changed
+2
-1
@@ -254,7 +254,8 @@ static void tap_set_vnet_hdr_len(NetClientState *nc, int len)
|
||||
|
||||
assert(nc->info->type == NET_CLIENT_DRIVER_TAP);
|
||||
assert(len == sizeof(struct virtio_net_hdr_mrg_rxbuf) ||
|
||||
len == sizeof(struct virtio_net_hdr));
|
||||
len == sizeof(struct virtio_net_hdr) ||
|
||||
len == sizeof(struct virtio_net_hdr_v1_hash));
|
||||
|
||||
tap_fd_set_vnet_hdr_len(s->fd, len);
|
||||
s->host_vnet_hdr_len = len;
|
||||
|
||||
Reference in new issue
Block a user