summaryrefslogtreecommitdiff
path: root/tools/net/ynl/lib
AgeCommit message (Expand)AuthorFilesLines
2023-06-09tools: ynl-gen: enable code gen for directional specsJakub Kicinski1-3/+4
2023-06-09tools: ynl-gen: use enum names in op strmap more carefullyJakub Kicinski1-0/+4
2023-06-06tools: ynl: user space helpersJakub Kicinski3-0/+1166
2023-06-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+3
2023-05-30tools: ynl: Support enums in struct members in genetlink-legacyDonald Hunter2-1/+7
2023-05-30tools: ynl: Initialise fixed headers to 0 in genetlink-legacyDonald Hunter1-1/+1
2023-05-26tools: ynl: avoid dict errors on older Python versionsJakub Kicinski1-2/+3
2023-05-24tools: ynl: Handle byte-order in struct membersDonald Hunter2-4/+6
2023-05-24tools: ynl: Use dict of predefined Structs to decode scalar typesDonald Hunter1-57/+44
2023-04-11tools: ynl: throw a more meaningful exception if family not supportedJakub Kicinski1-1/+4
2023-03-31tools: ynl: ethtool testing toolStanislav Fomichev2-0/+20
2023-03-31tools: ynl: replace print with NlErrorStanislav Fomichev1-3/+9
2023-03-31tools: ynl: support byte-order in cliStanislav Fomichev2-12/+24
2023-03-29tools: ynl: Add fixed-header support to ynlDonald Hunter2-12/+33
2023-03-29tools: ynl: Add struct attr decoding to ynlDonald Hunter2-1/+16
2023-03-29tools: ynl: Add C array attribute decoding to ynlDonald Hunter2-3/+22
2023-03-29tools: ynl: Add struct parsing to nlspecDonald Hunter1-0/+43
2023-03-27tools: ynl: default to treating enums as flags for mask generationJakub Kicinski1-4/+4
2023-03-27tools: ynl: Add missing types to encode/decodeMichal Michalik1-0/+6
2023-03-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+3
2023-03-24ynl: allow to encode u8 attrJiri Pirko1-0/+2
2023-03-23tools: ynl: Fix genlmsg header encoding formatsDonald Hunter1-3/+3
2023-03-17ynl: make the tooling check the licenseJakub Kicinski1-0/+8
2023-03-17tools: ynl: make definitions optional againJakub Kicinski1-1/+2
2023-03-11tools: ynl: fix get_mask utility routineLorenzo Bianconi1-4/+2
2023-03-09tools: ynl: fix enum-as-flags in the generic CLIJakub Kicinski2-9/+7
2023-03-09tools: ynl: move the enum classes to shared codeJakub Kicinski2-3/+100
2023-03-08ynl: re-license uniformly under GPL-2.0 OR BSD-3-ClauseJakub Kicinski3-3/+3
2023-03-03tools: ynl: use 1 as the default for first entry in attrs/opsJakub Kicinski1-3/+3
2023-03-03tools: ynl: fully inherit attrs in subsetsJakub Kicinski1-8/+15
2023-02-24tools: net: add __pycache__ to gitignoreJakub Kicinski1-0/+1
2023-02-24tools: ynl-gen: re-raise the exception instead of printingJakub Kicinski1-3/+1
2023-02-01tools: ynl: load jsonschema on demandJakub Kicinski1-1/+10
2023-02-01tools: ynl: use operation names from spec on the CLIJakub Kicinski1-0/+6
2023-02-01tools: ynl: support pretty printing bad attribute namesJakub Kicinski1-0/+40
2023-02-01tools: ynl: support multi-attrJakub Kicinski1-7/+14
2023-02-01tools: ynl: support directional enum-model in CLIJakub Kicinski1-4/+4
2023-02-01tools: ynl: add support for types needed by ethtoolJakub Kicinski1-1/+10
2023-02-01tools: ynl: use the common YAML loading and validation codeJakub Kicinski1-93/+25
2023-02-01tools: ynl: add an object hierarchy to represent parsed specJakub Kicinski2-1/+304
2023-02-01tools: ynl: move the cli and netlink code aroundJakub Kicinski2-0/+539