summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/ethtool.h
diff options
context:
space:
mode:
authorHadar Hen Zion2015-06-11 09:28:16 +0200
committerDavid S. Miller2015-06-11 09:36:37 +0200
commita4244b0cf58d56c171874e85228ba5deffeb017a (patch)
treef012cd8e97c0b9e91b8b64c554c6118bbbe94928 /include/uapi/linux/ethtool.h
parentMerge branch 'broadcom-MDIO-turn-around' (diff)
downloadkernel-qcow2-linux-a4244b0cf58d56c171874e85228ba5deffeb017a.tar.gz
kernel-qcow2-linux-a4244b0cf58d56c171874e85228ba5deffeb017a.tar.xz
kernel-qcow2-linux-a4244b0cf58d56c171874e85228ba5deffeb017a.zip
net/ethtool: Add current supported tunable options
Add strings array of the current supported tunable options. Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com> Reviewed-by: Amir Vadai <amirv@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/ethtool.h')
-rw-r--r--include/uapi/linux/ethtool.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/linux/ethtool.h b/include/uapi/linux/ethtool.h
index 0594933cdf55..cd67aec187d9 100644
--- a/include/uapi/linux/ethtool.h
+++ b/include/uapi/linux/ethtool.h
@@ -215,6 +215,11 @@ enum tunable_id {
ETHTOOL_ID_UNSPEC,
ETHTOOL_RX_COPYBREAK,
ETHTOOL_TX_COPYBREAK,
+ /*
+ * Add your fresh new tubale attribute above and remember to update
+ * tunable_strings[] in net/core/ethtool.c
+ */
+ __ETHTOOL_TUNABLE_COUNT,
};
enum tunable_type_id {
@@ -545,6 +550,7 @@ enum ethtool_stringset {
ETH_SS_NTUPLE_FILTERS,
ETH_SS_FEATURES,
ETH_SS_RSS_HASH_FUNCS,
+ ETH_SS_TUNABLES,
};
/**