Add strings array of the current supported tunable options.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -215,6 +215,11 @@ enum tunable_id { · 214 unmodified lines | ||
| 215 | 215 | ETHTOOL_ID_UNSPEC, |
| 216 | 216 | ETHTOOL_RX_COPYBREAK, |
| 217 | 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 | |
| 220 | 225 | enum tunable_type_id { |
| @@ -545,6 +550,7 @@ enum ethtool_stringset { · 324 unmodified lines | ||
| 545 | 550 | ETH_SS_NTUPLE_FILTERS, |
| 546 | 551 | ETH_SS_FEATURES, |
| 547 | 552 | ETH_SS_RSS_HASH_FUNCS, |
| 553 | + ETH_SS_TUNABLES, | |
| 548 | 554 | }; |
| 549 | 555 | |
| 550 | 556 | /** |