netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michal Kubecek <mkubecek@suse.cz>
To: John Linville <linville@tuxdriver.com>, netdev@vger.kernel.org
Cc: Andrew Lunn <andrew@lunn.ch>, Oleksij Rempel <o.rempel@pengutronix.de>
Subject: [PATCH ethtool 00/21] netlink interface update for 5.7 release
Date: Fri, 29 May 2020 01:21:07 +0200 (CEST)	[thread overview]
Message-ID: <cover.1590707335.git.mkubecek@suse.cz> (raw)

This series adds supports for netlink interface features supported in
kernel 5.7:

  - get/set netdev features (-k / -K)
  - get/set device private flags (--show-priv-flags / --set-priv-flags)
  - get/set ring sizes (-g / -G)
  - get/set channel counts (-l / -L)
  - get/set coalescing parameters (-c / -C)
  - get/set pause parameters (-a / -A)
  - get/set EEE settings (--show-eee / --set-eee)
  - get timestamping information (-T)
 
First three patches fix bugs found in existing code.

Michal Kubecek (21):
  netlink: fix build warnings
  netlink: fix nest type grouping in parser
  netlink: fix msgbuff_append() helper
  update UAPI header copies
  netlink: add more ethtool netlink message format descriptions
  selftest: omit test-features if netlink is enabled
  netlink: add netlink handler for gfeatures (-k)
  netlink: add netlink handler for sfeatures (-K)
  netlink: add netlink handler for gprivflags (--show-priv-flags)
  netlink: add netlink handler for sprivflags (--set-priv-flags)
  netlink: add netlink handler for gring (-g)
  netlink: add netlink handler for sring (-G)
  netlink: add netlink handler for gchannels (-l)
  netlink: add netlink handler for schannels (-L)
  netlink: add netlink handler for gcoalesce (-c)
  netlink: add netlink handler for scoalesce (-C)
  netlink: add netlink handler for gpause (-a)
  netlink: add netlink handler for spause (-A)
  netlink: add netlink handler for geee (--show-eee)
  netlink: add netlink handler for seee (--set-eee)
  netlink: add netlink handler for tsinfo (-T)

 Makefile.am                  |  11 +-
 common.c                     |  30 ++
 common.h                     |  19 ++
 ethtool.c                    |  79 ++----
 netlink/bitset.c             |  31 +++
 netlink/bitset.h             |   2 +
 netlink/channels.c           | 141 ++++++++++
 netlink/coalesce.c           | 269 ++++++++++++++++++
 netlink/desc-ethtool.c       | 129 ++++++++-
 netlink/eee.c                | 189 +++++++++++++
 netlink/extapi.h             |  30 ++
 netlink/features.c           | 526 +++++++++++++++++++++++++++++++++++
 netlink/monitor.c            |  56 ++++
 netlink/msgbuff.c            |   1 +
 netlink/netlink.h            |  46 +++
 netlink/parser.c             |  10 +-
 netlink/pause.c              | 222 +++++++++++++++
 netlink/privflags.c          | 158 +++++++++++
 netlink/rings.c              | 141 ++++++++++
 netlink/settings.c           |  17 +-
 netlink/tsinfo.c             | 124 +++++++++
 uapi/linux/ethtool.h         |   9 +-
 uapi/linux/ethtool_netlink.h | 175 ++++++++++++
 uapi/linux/if_link.h         |   6 +-
 uapi/linux/net_tstamp.h      |   6 +
 25 files changed, 2347 insertions(+), 80 deletions(-)
 create mode 100644 netlink/channels.c
 create mode 100644 netlink/coalesce.c
 create mode 100644 netlink/eee.c
 create mode 100644 netlink/features.c
 create mode 100644 netlink/pause.c
 create mode 100644 netlink/privflags.c
 create mode 100644 netlink/rings.c
 create mode 100644 netlink/tsinfo.c

-- 
2.26.2


             reply	other threads:[~2020-05-28 23:21 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-28 23:21 Michal Kubecek [this message]
2020-05-28 23:21 ` [PATCH ethtool 01/21] netlink: fix build warnings Michal Kubecek
2020-06-06 18:47   ` Heiko Thiery
2020-05-28 23:21 ` [PATCH ethtool 02/21] netlink: fix nest type grouping in parser Michal Kubecek
2020-05-29 14:28   ` Andrew Lunn
2020-05-28 23:21 ` [PATCH ethtool 03/21] netlink: fix msgbuff_append() helper Michal Kubecek
2020-05-29 14:29   ` Andrew Lunn
2020-05-28 23:21 ` [PATCH ethtool 04/21] update UAPI header copies Michal Kubecek
2020-05-28 23:21 ` [PATCH ethtool 05/21] netlink: add more ethtool netlink message format descriptions Michal Kubecek
2020-05-28 23:21 ` [PATCH ethtool 06/21] selftest: omit test-features if netlink is enabled Michal Kubecek
2020-05-28 23:21 ` [PATCH ethtool 07/21] netlink: add netlink handler for gfeatures (-k) Michal Kubecek
2020-05-28 23:21 ` [PATCH ethtool 08/21] netlink: add netlink handler for sfeatures (-K) Michal Kubecek
2020-05-28 23:21 ` [PATCH ethtool 09/21] netlink: add netlink handler for gprivflags (--show-priv-flags) Michal Kubecek
2020-05-28 23:21 ` [PATCH ethtool 10/21] netlink: add netlink handler for sprivflags (--set-priv-flags) Michal Kubecek
2020-05-28 23:22 ` [PATCH ethtool 11/21] netlink: add netlink handler for gring (-g) Michal Kubecek
2020-05-28 23:22 ` [PATCH ethtool 12/21] netlink: add netlink handler for sring (-G) Michal Kubecek
2020-05-28 23:22 ` [PATCH ethtool 13/21] netlink: add netlink handler for gchannels (-l) Michal Kubecek
2020-05-28 23:22 ` [PATCH ethtool 14/21] netlink: add netlink handler for schannels (-L) Michal Kubecek
2020-05-28 23:22 ` [PATCH ethtool 15/21] netlink: add netlink handler for gcoalesce (-c) Michal Kubecek
2020-05-28 23:22 ` [PATCH ethtool 16/21] netlink: add netlink handler for scoalesce (-C) Michal Kubecek
2020-05-28 23:22 ` [PATCH ethtool 17/21] netlink: add netlink handler for gpause (-a) Michal Kubecek
2020-05-28 23:22 ` [PATCH ethtool 18/21] netlink: add netlink handler for spause (-A) Michal Kubecek
2020-05-28 23:22 ` [PATCH ethtool 19/21] netlink: add netlink handler for geee (--show-eee) Michal Kubecek
2020-05-28 23:22 ` [PATCH ethtool 20/21] netlink: add netlink handler for seee (--set-eee) Michal Kubecek
2020-05-28 23:22 ` [PATCH ethtool 21/21] netlink: add netlink handler for tsinfo (-T) Michal Kubecek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1590707335.git.mkubecek@suse.cz \
    --to=mkubecek@suse.cz \
    --cc=andrew@lunn.ch \
    --cc=linville@tuxdriver.com \
    --cc=netdev@vger.kernel.org \
    --cc=o.rempel@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).