summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/ethtool.h
diff options
context:
space:
mode:
authorHadar Hen Zion <hadarh@mellanox.com>2015-06-11 10:28:16 +0300
committerDavid S. Miller <davem@davemloft.net>2015-06-11 00:36:37 -0700
commita4244b0cf58d56c171874e85228ba5deffeb017a (patch)
treef012cd8e97c0b9e91b8b64c554c6118bbbe94928 /include/uapi/linux/ethtool.h
parentde847254036e1ca7e60dad84ddef46b5664146d0 (diff)
downloadlinux-a4244b0cf58d56c171874e85228ba5deffeb017a.tar.gz
linux-a4244b0cf58d56c171874e85228ba5deffeb017a.tar.bz2
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,
};
/**