aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSasha Levin <sasha.levin@oracle.com>2013-05-03 16:29:17 -0400
committerWill Deacon <will.deacon@arm.com>2015-06-01 16:39:54 +0100
commit7668c3a677bd49b43f0bb3a2c18d71398ed9ce88 (patch)
treea5f731d995d9112159e99c4715f3918950272ab7 /include
parent7200d3a15c64efc5cf647d89b0fabcba41c1547d (diff)
downloadkvmtool-7668c3a677bd49b43f0bb3a2c18d71398ed9ce88.tar.gz
kvm tools: virtio-net mergable rx buffers
Support mergable rx buffers for virtio-net. This helps reduce the amount of memory the guest kernel has to allocate per rx vq. Signed-off-by: Sasha Levin <sasha.levin@oracle.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/kvm/uip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kvm/uip.h b/include/kvm/uip.h
index cb79e942..4e63808e 100644
--- a/include/kvm/uip.h
+++ b/include/kvm/uip.h
@@ -253,7 +253,7 @@ struct uip_tcp_socket {
};
struct uip_tx_arg {
- struct virtio_net_hdr *vnet;
+ void *vnet;
struct uip_info *info;
struct uip_eth *eth;
int vnet_len;