From f5f07dbf06f6df9d12e092c05ad8cfbe244d203f Mon Sep 17 00:00:00 2001 From: Susant Sahani Date: Tue, 14 Jul 2015 13:55:52 +0530 Subject: networkd: tap add support for vnet_hdr This patch adds support to configure IFF_VNET_HDR flag for a tap device. It allows whether sending and receiving large pass larger (GSO) packets. This greatly increases the achievable throughput. --- src/network/networkd-netdev-tuntap.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/network/networkd-netdev-tuntap.h') diff --git a/src/network/networkd-netdev-tuntap.h b/src/network/networkd-netdev-tuntap.h index b804875bbb..29f8bb0ea5 100644 --- a/src/network/networkd-netdev-tuntap.h +++ b/src/network/networkd-netdev-tuntap.h @@ -33,6 +33,7 @@ struct TunTap { bool one_queue; bool multi_queue; bool packet_info; + bool vnet_hdr; }; extern const NetDevVTable tun_vtable; -- cgit v1.2.3-54-g00ecf