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