[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250820131023.855661-1-o.rempel@pengutronix.de>
Date: Wed, 20 Aug 2025 15:10:20 +0200
From: Oleksij Rempel <o.rempel@...gutronix.de>
To: Andrew Lunn <andrew@...n.ch>,
Heiner Kallweit <hkallweit1@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Florian Fainelli <f.fainelli@...il.com>,
Maxime Chevallier <maxime.chevallier@...tlin.com>,
Kory Maincent <kory.maincent@...tlin.com>,
Lukasz Majewski <lukma@...x.de>,
Jonathan Corbet <corbet@....net>,
Donald Hunter <donald.hunter@...il.com>,
Vadim Fedorenko <vadim.fedorenko@...ux.dev>,
Jiri Pirko <jiri@...nulli.us>,
Vladimir Oltean <vladimir.oltean@....com>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Jesper Dangaard Brouer <hawk@...nel.org>,
John Fastabend <john.fastabend@...il.com>
Cc: Oleksij Rempel <o.rempel@...gutronix.de>,
kernel@...gutronix.de,
linux-kernel@...r.kernel.org,
netdev@...r.kernel.org,
Russell King <linux@...linux.org.uk>,
Divya.Koppera@...rochip.com,
Sabrina Dubroca <sd@...asysnail.net>,
Stanislav Fomichev <sdf@...ichev.me>
Subject: [PATCH net-next v3 0/3] Documentation and ynl: add flow control
This series improves kernel documentation around Ethernet flow control
and enhances the ynl tooling to generate kernel-doc comments for
attribute enums.
Patch 1 extends the ynl generator to emit kdoc for enums based on YAML
attribute documentation.
Patch 2 regenerates all affected UAPI headers (dpll, ethtool, team,
net_shaper, netdev, ovpn) so that attribute enums now carry kernel-doc.
Patch 3 adds a new flow_control.rst document and annotates the ethtool
pause/pause-stat YAML definitions, relying on the kdoc generation
support from the earlier patches.
Oleksij Rempel (3):
tools: ynl-gen: generate kdoc for attribute enums
net: ynl: add generated kdoc to UAPI headers
Documentation: net: add flow control guide and document ethtool API
Documentation/netlink/specs/ethtool.yaml | 27 ++
Documentation/networking/flow_control.rst | 379 ++++++++++++++++++
Documentation/networking/index.rst | 1 +
Documentation/networking/phy.rst | 12 +-
include/linux/ethtool.h | 45 ++-
include/uapi/linux/dpll.h | 30 ++
.../uapi/linux/ethtool_netlink_generated.h | 57 ++-
include/uapi/linux/if_team.h | 11 +
include/uapi/linux/net_shaper.h | 50 +++
include/uapi/linux/netdev.h | 165 ++++++++
include/uapi/linux/ovpn.h | 62 +++
net/dcb/dcbnl.c | 2 +
net/ethtool/pause.c | 4 +
tools/include/uapi/linux/netdev.h | 165 ++++++++
tools/net/ynl/pyynl/ynl_gen_c.py | 23 ++
15 files changed, 1018 insertions(+), 15 deletions(-)
create mode 100644 Documentation/networking/flow_control.rst
--
2.39.5
Powered by blists - more mailing lists