diff options
author | Susant Sahani <ssahani@gmail.com> | 2015-07-14 13:55:52 +0530 |
---|---|---|
committer | Susant Sahani <susant@redhat.com> | 2015-07-14 14:10:56 +0530 |
commit | f5f07dbf06f6df9d12e092c05ad8cfbe244d203f (patch) | |
tree | d2a371bb533afb8a057dffe09ae496ac79e417ee /src/network/networkd-netdev-gperf.gperf | |
parent | ff89f8b917a83a3fc0dc3ad0961c3bc953f78e8f (diff) |
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.
Diffstat (limited to 'src/network/networkd-netdev-gperf.gperf')
-rw-r--r-- | src/network/networkd-netdev-gperf.gperf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-netdev-gperf.gperf b/src/network/networkd-netdev-gperf.gperf index 66ed2e013c..010c106610 100644 --- a/src/network/networkd-netdev-gperf.gperf +++ b/src/network/networkd-netdev-gperf.gperf @@ -59,6 +59,7 @@ Tun.Group, config_parse_string, 0, Tap.OneQueue, config_parse_bool, 0, offsetof(TunTap, one_queue) Tap.MultiQueue, config_parse_bool, 0, offsetof(TunTap, multi_queue) Tap.PacketInfo, config_parse_bool, 0, offsetof(TunTap, packet_info) +Tap.VnetHeader, config_parse_bool, 0, offsetof(TunTap, vnet_hdr) Tap.User, config_parse_string, 0, offsetof(TunTap, user_name) Tap.Group, config_parse_string, 0, offsetof(TunTap, group_name) Bond.Mode, config_parse_bond_mode, 0, offsetof(Bond, mode) |