diff options
author | Sridhar Samudrala <sri@us.ibm.com> | 2009-10-22 17:43:49 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-27 12:29:04 -0500 |
commit | 6c9f58ba3b79202655e6156eb1dab3a2d2e0b51e (patch) | |
tree | 02fb37853acae12f80ea22239d9d12e94d1c04f8 /net.h | |
parent | 1d41b0c1ec66d38355a1e76c29dd2200433335f6 (diff) |
Enable UFO on virtio-net and tap devices
Enable UFO on the host tap device if supported and allow setting UFO
on virtio-net in the guest.
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'net.h')
-rw-r--r-- | net.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -180,8 +180,9 @@ void net_host_device_remove(Monitor *mon, const QDict *qdict); void qdev_set_nic_properties(DeviceState *dev, NICInfo *nd); +int tap_has_ufo(VLANClientState *vc); int tap_has_vnet_hdr(VLANClientState *vc); void tap_using_vnet_hdr(VLANClientState *vc, int using_vnet_hdr); -void tap_set_offload(VLANClientState *vc, int csum, int tso4, int tso6, int ecn); +void tap_set_offload(VLANClientState *vc, int csum, int tso4, int tso6, int ecn, int ufo); #endif |