[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201006150425.2631432-1-kuba@kernel.org>
Date: Tue, 6 Oct 2020 08:04:19 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: mkubecek@...e.cz
Cc: netdev@...r.kernel.org, kernel-team@...com,
Jakub Kicinski <kuba@...nel.org>
Subject: [PATCH ethtool-next v2 0/6] pause frame stats
Hi!
This set adds support for pause frame statistics.
First pause frame info is extended to support --json.
Pause stats are first of this kind of statistics so add
support for a new flag (--include-statistics).
Next add support for dumping policy to check if the statistics
flag is supported for a given subcommand.
Last but not least - display statistics.
Jakub Kicinski (6):
update UAPI header copies
pause: add --json support
separate FLAGS out in -h
add support for stats in subcommands
netlink: use policy dumping to check if stats flag is supported
pause: add support for dumping statistics
ethtool.8.in | 7 ++
ethtool.c | 17 ++++-
internal.h | 1 +
netlink/coalesce.c | 6 +-
netlink/msgbuff.h | 6 ++
netlink/netlink.c | 151 +++++++++++++++++++++++++++++++++++++++++
netlink/netlink.h | 23 +++++--
netlink/pause.c | 111 ++++++++++++++++++++++++++----
uapi/linux/genetlink.h | 11 +++
uapi/linux/netlink.h | 2 +
10 files changed, 311 insertions(+), 24 deletions(-)
--
2.26.2
Powered by blists - more mailing lists