[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201027145147.227053-2-idosch@idosch.org>
Date: Tue, 27 Oct 2020 16:51:46 +0200
From: Ido Schimmel <idosch@...sch.org>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, kuba@...nel.org, mkubecek@...e.cz,
f.fainelli@...il.com, andrew@...n.ch, David.Laight@...lab.com,
mlxsw@...dia.com, Ido Schimmel <idosch@...dia.com>
Subject: [RFC PATCH ethtool 1/2] update UAPI header copies
From: Ido Schimmel <idosch@...dia.com>
Update to kernel commit XXX.
Signed-off-by: Ido Schimmel <idosch@...dia.com>
---
uapi/linux/ethtool_netlink.h | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/uapi/linux/ethtool_netlink.h b/uapi/linux/ethtool_netlink.h
index c022883cdb22..030f95d2ccdf 100644
--- a/uapi/linux/ethtool_netlink.h
+++ b/uapi/linux/ethtool_netlink.h
@@ -94,10 +94,13 @@ enum {
#define ETHTOOL_FLAG_OMIT_REPLY (1 << 1)
/* request statistics, if supported by the driver */
#define ETHTOOL_FLAG_STATS (1 << 2)
+/* be compatible with legacy ioctl interface */
+#define ETHTOOL_FLAG_LEGACY (1 << 3)
#define ETHTOOL_FLAG_ALL (ETHTOOL_FLAG_COMPACT_BITSETS | \
ETHTOOL_FLAG_OMIT_REPLY | \
- ETHTOOL_FLAG_STATS)
+ ETHTOOL_FLAG_STATS | \
+ ETHTOOL_FLAG_LEGACY)
enum {
ETHTOOL_A_HEADER_UNSPEC,
--
2.26.2
Powered by blists - more mailing lists