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
215 ETHTOOL_ID_UNSPEC,215 ETHTOOL_ID_UNSPEC,
216 ETHTOOL_RX_COPYBREAK,216 ETHTOOL_RX_COPYBREAK,
217 ETHTOOL_TX_COPYBREAK,217 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,
218};223};
219 224
220enum tunable_type_id {225enum tunable_type_id {
@@ -545,6 +550,7 @@ enum ethtool_stringset { · 324 unmodified lines
545 ETH_SS_NTUPLE_FILTERS,550 ETH_SS_NTUPLE_FILTERS,
546 ETH_SS_FEATURES,551 ETH_SS_FEATURES,
547 ETH_SS_RSS_HASH_FUNCS,552 ETH_SS_RSS_HASH_FUNCS,
553 ETH_SS_TUNABLES,
548};554};
549 555
550/**556/**