History

net/ethtool: Add current supported tunable options

Add strings array of the current supported tunable options.

Hadar Hen Zion committed 11 years ago

Commit a4244b01 parent de847252 files · +18 −0Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/linux/ethtool.h+6−0
@@ -215,6 +215,11 @@ enum tunable_id { · 214 unmodified lines
215215 ETHTOOL_ID_UNSPEC,
216216 ETHTOOL_RX_COPYBREAK,
217217 ETHTOOL_TX_COPYBREAK,
218+ /*
219+ * Add your fresh new tubale attribute above and remember to update
220+ * tunable_strings[] in net/core/ethtool.c
221+ */
222+ __ETHTOOL_TUNABLE_COUNT,
218223 };
219224
220225 enum tunable_type_id {
@@ -545,6 +550,7 @@ enum ethtool_stringset { · 324 unmodified lines
545550 ETH_SS_NTUPLE_FILTERS,
546551 ETH_SS_FEATURES,
547552 ETH_SS_RSS_HASH_FUNCS,
553+ ETH_SS_TUNABLES,
548554 };
549555
550556 /**