netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v3 1/4] ethtool: add ETHTOOL_COALESCE_ALL_PARAMS define
@ 2020-11-13 23:16 Antonio Cardace
  2020-11-13 23:16 ` [PATCH net-next v3 2/4] netdevsim: support ethtool ring and coalesce settings Antonio Cardace
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Antonio Cardace @ 2020-11-13 23:16 UTC (permalink / raw)
  To: netdev, David S . Miller, Jakub Kicinski, Michal Kubecek

This bitmask represents all existing coalesce parameters.

Signed-off-by: Antonio Cardace <acardace@redhat.com>
---
 include/linux/ethtool.h | 1 +
 1 file changed, 1 insertion(+)

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)
-- 
2.28.0


^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2020-11-18 23:20 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-13 23:16 [PATCH net-next v3 1/4] ethtool: add ETHTOOL_COALESCE_ALL_PARAMS define Antonio Cardace
2020-11-13 23:16 ` [PATCH net-next v3 2/4] netdevsim: support ethtool ring and coalesce settings Antonio Cardace
2020-11-16 16:03   ` Michal Kubecek
2020-11-17  0:47   ` Jakub Kicinski
2020-11-13 23:16 ` [PATCH net-next v3 3/4] selftests: extract common functions in ethtool-common.sh Antonio Cardace
2020-11-16 16:17   ` Michal Kubecek
2020-11-16 16:38     ` Antonio Cardace
2020-11-13 23:16 ` [PATCH net-next v3 4/4] selftests: add ring and coalesce selftests Antonio Cardace
2020-11-17  0:45   ` Jakub Kicinski
2020-11-17 11:32     ` Antonio Cardace
2020-11-17 17:15       ` Jakub Kicinski
2020-11-18 21:43         ` Willem de Bruijn
2020-11-18 23:19           ` Jakub Kicinski
2020-11-16 16:02 ` [PATCH net-next v3 1/4] ethtool: add ETHTOOL_COALESCE_ALL_PARAMS define Michal Kubecek
2020-11-17  0:48 ` Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).