Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ethtool: add ETHTOOL_COALESCE_ALL_PARAMS define

This bitmask represents all existing coalesce parameters.

Signed-off-by: Antonio Cardace <acardace@redhat.com>
Reviewed-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Antonio Cardace and committed by
Jakub Kicinski
4ae21993 fc9840fb

+1
+1
include/linux/ethtool.h
··· 215 215 #define ETHTOOL_COALESCE_TX_USECS_HIGH BIT(19) 216 216 #define ETHTOOL_COALESCE_TX_MAX_FRAMES_HIGH BIT(20) 217 217 #define ETHTOOL_COALESCE_RATE_SAMPLE_INTERVAL BIT(21) 218 + #define ETHTOOL_COALESCE_ALL_PARAMS GENMASK(21, 0) 218 219 219 220 #define ETHTOOL_COALESCE_USECS \ 220 221 (ETHTOOL_COALESCE_RX_USECS | ETHTOOL_COALESCE_TX_USECS)