diff options
author | Willem de Bruijn <willemb@google.com> | 2018-04-26 20:42:21 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-26 22:09:12 +0300 |
commit | 83aa025f535f76733e334e3d2a4d8577c8441a7e (patch) | |
tree | 04dae9f8c0b71ec90612cac1ca947272447bde56 /net | |
parent | 2e8de8576343ab540856082916bfb84d17288b08 (diff) | |
download | linux-83aa025f535f76733e334e3d2a4d8577c8441a7e.tar.xz |
udp: add gso support to virtual devices
Virtual devices such as tunnels and bonding can handle large packets.
Only segment packets when reaching a physical or loopback device.
Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/core/ethtool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/ethtool.c b/net/core/ethtool.c index 03416e6dd5d7..4650fd6d678c 100644 --- a/net/core/ethtool.c +++ b/net/core/ethtool.c @@ -92,6 +92,7 @@ static const char netdev_features_strings[NETDEV_FEATURE_COUNT][ETH_GSTRING_LEN] [NETIF_F_GSO_PARTIAL_BIT] = "tx-gso-partial", [NETIF_F_GSO_SCTP_BIT] = "tx-sctp-segmentation", [NETIF_F_GSO_ESP_BIT] = "tx-esp-segmentation", + [NETIF_F_GSO_UDP_L4_BIT] = "tx-udp-segmentation", [NETIF_F_FCOE_CRC_BIT] = "tx-checksum-fcoe-crc", [NETIF_F_SCTP_CRC_BIT] = "tx-checksum-sctp", |