Merge branch 'tools-ynl-fill-in-some-gaps-of-ethtool-spec'
authorJakub Kicinski <kuba@kernel.org>
Fri, 31 Mar 2023 06:29:58 +0000 (23:29 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 31 Mar 2023 06:30:18 +0000 (23:30 -0700)
commitdee1efb301f4c380f454bc84c2258b3d594c9615
tree36f9bc892d5c61025457cd0bfe68d80c3f2ef464
parent709d0b880ceae9503ce4282fcfaf4cb59c6dd267
parentf3d07b02b2b8eba5b0e168405614e15cd6617a43
Merge branch 'tools-ynl-fill-in-some-gaps-of-ethtool-spec'

Stanislav Fomichev says:

====================
tools: ynl: fill in some gaps of ethtool spec

I was trying to fill in the spec while exploring ethtool API for some
related work. I don't think I'll have the patience to fill in the rest,
so decided to share whatever I currently have.

Patches 1-2 add the be16 + spec.
Patches 3-4 implement an ethtool-like python tool to test the spec.

Patches 3-4 are there because it felt more fun do the tool instead
of writing the actual tests; feel free to drop it; sharing mostly
to show that the spec is not a complete nonsense.

The spec is not 100% complete, see patch 2 for what's missing.
I was hoping to finish the stats-get message, but I'm too dump
to implement bitmask marshaling (multi-attr).
====================

Link: https://lore.kernel.org/r/20230329221655.708489-1-sdf@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>