tools: ynl: generate code for the ethtool family
authorJakub Kicinski <kuba@kernel.org>
Fri, 9 Jun 2023 21:43:45 +0000 (14:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Jun 2023 10:01:03 +0000 (11:01 +0100)
commit2d7be507d65e90099c76631bf0448d0b30f7f203
tree3ebf50714b779889c0bba6e02b6a0e6eea59f1f2
parent68335713d2eaf8e3e064c584b39da45fdee6e365
tools: ynl: generate code for the ethtool family

Generate the protocol code for ethtool. Skip the stats
for now, they are the only outlier in terms of complexity.
Stats are a sort-of semi-polymorphic (attr space of a nest
depends on value of another attr) or a type-value-scalar,
depending on how one wants to look at it...
A challenge for another time.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/net/ynl/generated/Makefile
tools/net/ynl/generated/ethtool-user.c [new file with mode: 0644]
tools/net/ynl/generated/ethtool-user.h [new file with mode: 0644]