diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2020-11-20 12:51:56 -0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-20 12:54:06 -0800 |
| commit | 2ed03e5a84cacddfbf2c8e4442b18679c219bb68 (patch) | |
| tree | 3b6418218d4f76de719d03b72cd114ea43850810 /include/linux | |
| parent | fc9840fbef0c3740e0fc3640eb8628d70fcb2215 (diff) | |
| parent | fbb7a1f8137df4a693ea2b44096ad8ec518e3db1 (diff) | |
| download | cachepc-linux-2ed03e5a84cacddfbf2c8e4442b18679c219bb68.tar.gz cachepc-linux-2ed03e5a84cacddfbf2c8e4442b18679c219bb68.zip | |
Merge branch 'netdevsim-add-ethtool-coalesce-and-ring-settings'
Antonio Cardace says:
====================
netdevsim: add ethtool coalesce and ring settings
Output of ethtool-ring.sh and ethtool-coalesce.sh selftests:
# ./ethtool-ring.sh
PASSED all 4 checks
# ./ethtool-coalesce.sh
PASSED all 22 checks
# ./ethtool-pause.sh
PASSED all 7 checks
====================
Link: https://lore.kernel.org/r/20201118204522.5660-1-acardace@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ethtool.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h index 6408b446051f..e3da25b51ae4 100644 --- a/include/linux/ethtool.h +++ b/include/linux/ethtool.h @@ -215,6 +215,7 @@ bool ethtool_convert_link_mode_to_legacy_u32(u32 *legacy_u32, #define ETHTOOL_COALESCE_TX_USECS_HIGH BIT(19) #define ETHTOOL_COALESCE_TX_MAX_FRAMES_HIGH BIT(20) #define ETHTOOL_COALESCE_RATE_SAMPLE_INTERVAL BIT(21) +#define ETHTOOL_COALESCE_ALL_PARAMS GENMASK(21, 0) #define ETHTOOL_COALESCE_USECS \ (ETHTOOL_COALESCE_RX_USECS | ETHTOOL_COALESCE_TX_USECS) |
