aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/pyynl
AgeCommit message (Expand)AuthorFilesLines
2025-11-28tools: ynl: add schema checkingDonald Hunter1-5/+16
2025-11-25tools: ynl-gen: add regeneration commentAsbjørn Sloth Tønnesen1-0/+1
2025-11-25tools: ynl-gen: add function prefix argumentAsbjørn Sloth Tønnesen1-9/+16
2025-11-20tools: ynl: cli: Display enum values in --list-attrs outputGal Pressman1-1/+7
2025-11-20tools: ynl: cli: Parse nested attributes in --list-attrs outputGal Pressman1-9/+26
2025-11-20tools: ynl: cli: Add --list-attrs option to show operation attributesGal Pressman1-0/+56
2025-11-18tools: ynl: Add MAC address parsing supportHangbin Liu1-0/+9
2025-11-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+12
2025-11-10tools: ynl: call nested attribute free function for indexed arraysZahari Doychev1-0/+12
2025-10-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+3
2025-10-28tools: ynl: rework the string representation of NlErrorJakub Kicinski1-1/+10
2025-10-28tools: ynl: fix indent issues in the main Python libJakub Kicinski1-14/+14
2025-10-27tools: ynl: avoid print_field when there is no replyHangbin Liu1-0/+3
2025-09-17tools: ynl-gen: support uint in multi-attrJakub Kicinski1-1/+5
2025-09-16tools: ynl: add ipv4-or-v6 display hintAsbjørn Sloth Tønnesen1-2/+2
2025-09-16tools: ynl: decode hex inputAsbjørn Sloth Tønnesen1-0/+5
2025-09-16tools: ynl: encode indexed-arraysAsbjørn Sloth Tønnesen1-0/+16
2025-09-16tools: ynl: move nest packing to a helper functionAsbjørn Sloth Tønnesen1-4/+9
2025-09-16tools: ynl-gen: rename TypeArrayNest to TypeIndexedArrayAsbjørn Sloth Tønnesen1-18/+18
2025-09-16tools: ynl-gen: validate nested arraysAsbjørn Sloth Tønnesen1-1/+1
2025-09-16tools: ynl-gen: avoid repetitive variables definitionsAsbjørn Sloth Tønnesen1-5/+9
2025-09-16tools: ynl-gen: refactor local vars for .attr_put() callersAsbjørn Sloth Tønnesen1-13/+19
2025-09-16tools: ynl-gen: add sub-type checkAsbjørn Sloth Tønnesen1-1/+3
2025-09-16tools: ynl-gen: generate nested array policiesAsbjørn Sloth Tønnesen1-0/+5
2025-09-16tools: ynl-gen: allow overriding name-prefix for constantsAsbjørn Sloth Tønnesen1-1/+2
2025-09-16tools: ynl: avoid "use of uninitialized variable" false positive in generated...Vladimir Oltean1-2/+2
2025-09-15tools: ynl: rst: display attribute-set docMatthieu Baerts (NGI0)1-0/+4
2025-09-10tools: ynl: check for membership with 'not in'Matthieu Baerts (NGI0)1-1/+1
2025-09-10tools: ynl: use 'cond is None'Matthieu Baerts (NGI0)2-2/+2
2025-09-10tools: ynl: remove unnecessary semicolonsMatthieu Baerts (NGI0)2-2/+2
2025-09-10tools: ynl: remove unused importsMatthieu Baerts (NGI0)4-5/+2
2025-09-10tools: ynl: remove f-string without any placeholdersMatthieu Baerts (NGI0)2-16/+16
2025-09-10tools: ynl: remove assigned but never used variableMatthieu Baerts (NGI0)2-3/+0
2025-09-10tools: ynl: avoid bare exceptMatthieu Baerts (NGI0)1-1/+1
2025-09-10tools: ynl: fix undefined variable nameMatthieu Baerts (NGI0)1-1/+1
2025-09-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2025-09-03tools: ynl-gen: fix nested array countingAsbjørn Sloth Tønnesen1-1/+1
2025-09-03tools: ynl-gen: use macro for binary min-len checkAsbjørn Sloth Tønnesen1-1/+1
2025-08-12docs: parser_yaml.py: add support for line numbers from the parserMauro Carvalho Chehab1-4/+12
2025-08-12tools: netlink_yml_parser.py: add line numbers to parsed dataMauro Carvalho Chehab1-2/+32
2025-08-12tools: ynl_gen_rst.py: drop support for generating index filesMauro Carvalho Chehab1-28/+0
2025-08-12tools: ynl_gen_rst.py: cleanup coding styleMauro Carvalho Chehab1-47/+25
2025-08-12tools: ynl_gen_rst.py: Split library from command line toolMauro Carvalho Chehab3-359/+400
2025-08-12docs: netlink: netlink-raw.rst: use :ref: instead of :doc:Mauro Carvalho Chehab1-2/+3
2025-07-24tools: ynl-gen: print setters for multi-val attrsJakub Kicinski1-6/+13
2025-07-24tools: ynl-gen: print alloc helper for multi-val attrsJakub Kicinski1-3/+16
2025-07-24tools: ynl-gen: move free printing to the print_type_full() helperJakub Kicinski1-3/+4
2025-07-24tools: ynl-gen: don't add suffix for pure typesJakub Kicinski1-1/+3
2025-07-17tools: ynl: support packing binary arrays of scalarsJakub Kicinski1-1/+6
2025-07-13tools: ynl: default to --process-unknown in installed modeJakub Kicinski1-0/+2
2025-07-13tools: ynl: process unknown for enum valuesDonald Hunter1-2/+12
2025-07-10tools: ynl: decode enums in auto-intsJakub Kicinski1-0/+2
2025-06-19tools: ynl: fix mixing ops and notifications on one socketJakub Kicinski1-11/+17
2025-05-27tools: ynl: parse extack for sub-messagesDonald Hunter1-14/+25
2025-05-21tools: ynl-gen: support weird sub-message formatsJakub Kicinski1-11/+37
2025-05-21tools: ynl-gen: support local attrs in _multi_parseJakub Kicinski1-4/+8
2025-05-21tools: ynl-gen: move fixed header info from RenderInfo to StructJakub Kicinski1-18/+27
2025-05-21tools: ynl-gen: support passing selector to a nestJakub Kicinski1-5/+60
2025-05-16tools: ynl: submsg: reverse parse / error reportingJakub Kicinski1-1/+28
2025-05-16tools: ynl-gen: submsg: support parsing and rendering sub-messagesJakub Kicinski1-4/+76
2025-05-16tools: ynl-gen: submsg: render the structsJakub Kicinski1-3/+43
2025-05-16tools: ynl-gen: submsg: plumb thru an empty typeJakub Kicinski2-2/+23
2025-05-16tools: ynl-gen: prepare for submsg structsJakub Kicinski1-23/+39
2025-05-16tools: ynl-gen: factor out the annotation of pure nested structJakub Kicinski1-17/+22
2025-05-15tools: ynl-gen: array-nest: support arrays of nestsJakub Kicinski1-0/+3
2025-05-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-11/+18
2025-05-13tools: ynl-gen: Allow multi-attr without nested-attributes againLukas Wunner1-4/+3
2025-05-13tools: ynl-gen: support struct for binary attributesJakub Kicinski1-1/+20
2025-05-13tools: ynl-gen: auto-indent elseJakub Kicinski1-0/+1
2025-05-13tools: ynl-gen: support sub-type for binary attributesJakub Kicinski1-3/+40
2025-05-09tools: ynl: handle broken pipe gracefully in CLIDonald Hunter1-7/+8
2025-05-09tools/net/ynl: ethtool: fix crash when Hardware Clock info is missingHangbin Liu1-7/+15
2025-05-07tools: ynl-gen: move the count into a presence struct tooJakub Kicinski1-19/+13
2025-05-07tools: ynl-gen: split presence metadataJakub Kicinski1-23/+23
2025-05-07tools: ynl-gen: rename basic presence from 'bit' to 'present'Jakub Kicinski1-6/+6
2025-05-06tools: ynl-gen: allow noncontiguous enumsJiri Pirko1-6/+52
2025-05-02tools: ynl: allow fixed-header to be specified per opJakub Kicinski1-1/+16
2025-05-02tools: ynl-gen: don't init enum checks for classic netlinkJakub Kicinski1-20/+26
2025-05-02tools: ynl-gen: array-nest: support binary array with exact-lenJakub Kicinski1-4/+20
2025-05-02tools: ynl-gen: array-nest: support put for scalarJakub Kicinski1-3/+25
2025-05-02tools: ynl-gen: mutli-attr: support binary types with structJakub Kicinski1-0/+19
2025-05-02tools: ynl-gen: multi-attr: type gen for stringJakub Kicinski1-4/+25
2025-05-02tools: ynl-gen: support CRUD-like notifications for classic NetlinkJakub Kicinski1-1/+5
2025-05-02tools: ynl-gen: support using dump types for ntfJakub Kicinski1-1/+1
2025-05-02tools: ynl: let classic netlink requests specify extra nlflagsJakub Kicinski1-1/+20
2025-05-02tools: ynl-gen: fill in missing empty attr listsJakub Kicinski1-0/+8
2025-05-02tools: ynl-gen: factor out free_needs_iter for a structJakub Kicinski1-5/+9
2025-05-02tools: ynl-gen: fix comment about nested struct dictJakub Kicinski1-1/+1
2025-04-29tools: ynl: fix typo in info stringRuben Wauters1-1/+1
2025-04-23netlink: specs: allow header properties for attribute setsJakub Kicinski1-1/+1
2025-04-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-24/+72
2025-04-16tools: ynl-gen: make sure we validate subtype of array-nestJakub Kicinski1-2/+5
2025-04-16tools: ynl-gen: individually free previous values on double setJakub Kicinski1-17/+45
2025-04-16tools: ynl-gen: move local vars after the opening bracketJakub Kicinski1-1/+1
2025-04-16tools: ynl-gen: don't declare loop iterator in placeJakub Kicinski1-4/+21
2025-04-10tools: ynl-gen: use family c-name in notificationsJakub Kicinski1-3/+3
2025-04-10tools: ynl-gen: consider dump ops without a do "type-consistent"Jakub Kicinski1-5/+9
2025-04-10tools: ynl: don't use genlmsghdr in classic netlinkJakub Kicinski1-4/+15
2025-04-10tools: ynl-gen: don't consider requests with fixed hdr emptyJakub Kicinski1-2/+5
2025-04-10tools: ynl: support creating non-genl socketsJakub Kicinski1-3/+6
2025-02-12tools/net/ynl: add indexed-array scalar support to ynl-gen-cDonald Hunter1-6/+18
2025-02-12tools/net/ynl: sanitise enums with leading digits in ynl-gen-cDonald Hunter1-0/+2
2025-02-12tools/net/ynl: add s8, s16 to valid scalars in ynl-gen-cDonald Hunter1-1/+1
2025-02-12tools/net/ynl: accept IP string inputsDonald Hunter1-4/+21
2025-02-12tools/net/ynl: support rendering C array members to stringsDonald Hunter1-0/+5
2025-02-12tools/net/ynl: support decoding indexed arrays as enumsDonald Hunter1-1/+3
2025-02-12tools/net/ynl: remove extraneous plural from variable namesDonald Hunter1-6/+6
2025-02-06tools: ynl-gen: support limits using definitionsJakub Kicinski1-1/+4
2025-02-06tools: ynl-gen: don't output external constantsJakub Kicinski1-0/+3
2025-01-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+13
2025-01-13tools/net/ynl: ethtool: support spec load from install locationDonald Hunter1-4/+3
2025-01-13tools/net/ynl: add support for --family and --list-familiesDonald Hunter1-2/+43
2025-01-09tools: ynl: move python code to separate sub-directoryJan Stancek9-0/+5749