summaryrefslogtreecommitdiff
path: root/libnm-core/nm-core-types.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-07-16 23:37:55 +0200
committerThomas Haller <thaller@redhat.com>2018-08-10 10:38:19 +0200
commitdf30651b8906cfe6a5cb7aef01a220d1f21b80f3 (patch)
tree6642ae4c01d7c8b5e0d8275a06f676adef4b34e9 /libnm-core/nm-core-types.h
parent4e0f1b16b9472318b2e96b7357ce97ab58d7873f (diff)
downloadNetworkManager-df30651b8906cfe6a5cb7aef01a220d1f21b80f3.tar.gz
libnm, cli, ifcfg-rh: add NMSettingEthtool setting
Note that in NetworkManager API (D-Bus, libnm, and nmcli), the features are called "feature-xyz". The "feature-" prefix is used, because NMSettingEthtool possibly will gain support for options that are not only -K|--offload|--features, for example -C|--coalesce. The "xzy" suffix is either how ethtool utility calls the feature ("tso", "rx"). Or, if ethtool utility specifies no alias for that feature, it's the name from kernel's ETH_SS_FEATURES ("tx-tcp6-segmentation"). If possible, we prefer ethtool utility's naming. Also note, how the features "feature-sg", "feature-tso", and "feature-tx" actually refer to multiple underlying kernel features at once. This too follows what ethtool utility does. The functionality is not yet implemented server-side.
Diffstat (limited to 'libnm-core/nm-core-types.h')
-rw-r--r--libnm-core/nm-core-types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libnm-core/nm-core-types.h b/libnm-core/nm-core-types.h
index 622b104f60..4282fdfe5c 100644
--- a/libnm-core/nm-core-types.h
+++ b/libnm-core/nm-core-types.h
@@ -40,6 +40,7 @@ typedef struct _NMSettingCdma NMSettingCdma;
typedef struct _NMSettingConnection NMSettingConnection;
typedef struct _NMSettingDcb NMSettingDcb;
typedef struct _NMSettingDummy NMSettingDummy;
+typedef struct _NMSettingEthtool NMSettingEthtool;
typedef struct _NMSettingGeneric NMSettingGeneric;
typedef struct _NMSettingGsm NMSettingGsm;
typedef struct _NMSettingInfiniband NMSettingInfiniband;