]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
docs: ethtool: clarify the bit-by-bit bitset format description
authorYohei Kojima <yk@y-koj.net>
Wed, 25 Feb 2026 15:12:09 +0000 (00:12 +0900)
committerJakub Kicinski <kuba@kernel.org>
Fri, 27 Feb 2026 01:55:42 +0000 (17:55 -0800)
commit5cf47393d96f211836ce98a22cebdf0eb8555413
treeb2648f9c43240f869e144fc516bac295472c2392
parentf22b4e6fbba5c50612ca82220f34f8fa2ad1d24d
docs: ethtool: clarify the bit-by-bit bitset format description

Clarify the bit-by-bit bitset format's behavior around mandatory
attributes and bit identification. More specifically, the following
changes are made:

* Rephrase a misleading sentence which implies name and index are
  mutually exclusive
* Describe that ETHTOOL_A_BITSET_BITS nest is mandatory
* Describe that a request fails if inconsistent identifiers are given

Signed-off-by: Yohei Kojima <yk@y-koj.net>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/ef90a56965ca66e57aa177929ce3e10c5ca815fa.1772031974.git.yk@y-koj.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/networking/ethtool-netlink.rst