summaryrefslogtreecommitdiff
path: root/src/udev/net/ethtool-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-08-31 12:13:08 +0200
committerGitHub <noreply@github.com>2016-08-31 12:13:08 +0200
commit33eb97f626c82b5a665530c8aa1307cddbcde22d (patch)
treec82a61115528109eaea200defbcba813c8d254c5 /src/udev/net/ethtool-util.c
parent126c6aedb8055384c22ca27adc84fe1bd9bb7d32 (diff)
parentf7ea90fbba95618e75371e98cf513957ff433de7 (diff)
link : add support to configure LRO and GRO Offload features (#4064)
The patch supports to configure GenericReceiveOffload LargeReceiveOffload
Diffstat (limited to 'src/udev/net/ethtool-util.c')
-rw-r--r--src/udev/net/ethtool-util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/udev/net/ethtool-util.c b/src/udev/net/ethtool-util.c
index 5143eb5a9d..19c69a98b1 100644
--- a/src/udev/net/ethtool-util.c
+++ b/src/udev/net/ethtool-util.c
@@ -48,6 +48,8 @@ DEFINE_CONFIG_PARSE_ENUM(config_parse_wol, wol, WakeOnLan, "Failed to parse Wake
static const char* const netdev_feature_table[_NET_DEV_FEAT_MAX] = {
[NET_DEV_FEAT_GSO] = "tx-generic-segmentation",
+ [NET_DEV_FEAT_GRO] = "rx-gro",
+ [NET_DEV_FEAT_LRO] = "rx-lro",
[NET_DEV_FEAT_TSO] = "tx-tcp-segmentation",
[NET_DEV_FEAT_UFO] = "tx-udp-fragmentation",
};