aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net
AgeCommit message (Expand)AuthorFilesLines
2023-10-31Merge tag 'net-next-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds17-153/+7556
2023-10-30Merge tag 'nfsd-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds4-1/+130
2023-10-27tools: ynl: introduce option to process unknown attributes or typesJiri Pirko2-12/+39
2023-10-26tools: ynl-gen: respect attr-cnt-name at the attr set levelJakub Kicinski1-3/+4
2023-10-26netlink: specs: support conditional operationsJakub Kicinski1-0/+22
2023-10-26netlink: make range pointers in policies constJakub Kicinski1-1/+1
2023-10-24tools: ynl-gen: add support for exact-len validationDavide Caratti1-11/+17
2023-10-23Merge branch 'devlink-finish-conversion-to-generated-split_ops'Jakub Kicinski6-15/+7185
2023-10-23netlink: specs: devlink: add the remaining command to generate complete split...Jiri Pirko2-1/+7122
2023-10-23netlink: specs: devlink: remove reload-action from devlink-get cmd replyJiri Pirko2-7/+0
2023-10-23tools: ynl-gen: render rsp_parse() helpers if cmd has only dump opJiri Pirko1-4/+7
2023-10-23tools: ynl-gen: introduce support for bitfield32 attribute typeJiri Pirko4-3/+56
2023-10-23tools: ynl-gen: change spacing around __attribute__Jakub Kicinski7-64/+64
2023-10-20netlink: specs: add support for auto-sized scalarsJakub Kicinski5-2/+47
2023-10-20tools: ynl-gen: make the mnl_type() method publicJakub Kicinski1-20/+18
2023-10-19tools: ynl-gen: support limit namesJakub Kicinski1-11/+34
2023-10-19tools: ynl-gen: support full range of min/max checks for integer valuesJakub Kicinski1-7/+59
2023-10-19tools: ynl-gen: track attribute useJakub Kicinski1-0/+20
2023-10-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-27/+27
2023-10-17tools: ynl: fix converting flags to names after recent cleanupJakub Kicinski1-1/+1
2023-10-16tools: ynl: Add source files for nfsd netlink protocolChuck Lever4-1/+130
2023-10-13netlink: specs: devlink: fix reply command valuesJiri Pirko1-27/+27
2023-10-11tools: ynl: use ynl-gen -o instead of stdout in MakefileJakub Kicinski1-2/+2
2023-10-09tools: ynl-gen: handle do ops with no input attrsJakub Kicinski1-6/+11
2023-10-06tools: ynl-gen: use uapi header name for the header guardJakub Kicinski1-1/+5
2023-10-04tools: ynl: use uAPI include magic for samplesJakub Kicinski1-1/+4
2023-10-04tools: ynl: don't regen on every makeJakub Kicinski2-2/+1
2023-10-02handshake: Fix sign of key_serial_t fieldsChuck Lever1-2/+2
2023-10-02handshake: Fix sign of socket file descriptor fieldsChuck Lever1-3/+3
2023-09-15tools: ynl: extend netdev sample to dump xdp-rx-metadata-featuresStanislav Fomichev4-2/+30
2023-08-27tools/net/ynl: Add support for create flagsDonald Hunter3-8/+22
2023-08-27tools/net/ynl: Implement nlattr array-nest decoding in ynlDonald Hunter1-0/+13
2023-08-27tools/net/ynl: Add support for netlink-raw familiesDonald Hunter1-33/+91
2023-08-27tools/net/ynl: Fix extack parsing with fixed header genlmsgDonald Hunter1-25/+40
2023-08-27tools/ynl: Add mcast-group schema parsing to ynlDonald Hunter1-0/+31
2023-08-25tools: ynl-gen: fix uAPI generation after tempfile changesJakub Kicinski1-10/+20
2023-08-24tools: ynl-gen: support empty attribute listsJakub Kicinski1-2/+9
2023-08-24tools: ynl-gen: fix collecting global policy attrsJakub Kicinski1-1/+3
2023-08-24tools: ynl-gen: set length of binary fieldsJakub Kicinski3-0/+11
2023-08-24tools: ynl: allow passing binary dataJakub Kicinski1-1/+6
2023-08-19tools: ynl-gen: use temporary file for renderingJiri Pirko1-2/+8
2023-08-15tools: ynl: add more info to KeyErrors on missing attrsJakub Kicinski1-3/+12
2023-08-14netlink: specs: devlink: extend health reporter dump attributes by port indexJiri Pirko2-0/+11
2023-08-14netlink: specs: devlink: extend per-instance dump commands to accept instance...Jiri Pirko2-26/+643
2023-08-14netlink: specs: devlink: add commands that do per-instance dumpJiri Pirko2-0/+3352
2023-08-09tools: ynl-gen: add missing empty line between policiesJakub Kicinski1-0/+1
2023-08-09tools: ynl-gen: avoid rendering empty validate fieldJiri Pirko1-3/+4
2023-08-04netlink: specs: devlink: add info-get dump opJiri Pirko2-0/+63
2023-08-04ynl-gen-c.py: render netlink policies static for split opsJiri Pirko1-2/+6
2023-08-04ynl-gen-c.py: allow directional model for kernel modeJiri Pirko1-1/+1
2023-08-04ynl-gen-c.py: filter rendering of validate field values for split opsJiri Pirko1-1/+9
2023-07-28ynl: print xdp-zc-max-segs in the sampleStanislav Fomichev1-0/+2
2023-07-28ynl: regenerate all headersStanislav Fomichev4-0/+14
2023-07-28ynl: mark max/mask as private for kdocStanislav Fomichev1-0/+1
2023-07-26tools: ynl-gen: fix parse multi-attr enum attributeArkadiusz Kubalewski1-6/+6
2023-07-26tools: ynl-gen: fix enum index in _decode_enum(..)Arkadiusz Kubalewski1-2/+2
2023-06-24tools: ynl: add display-hint support to ynlDonald Hunter2-5/+39
2023-06-22tools: ynl: improve the direct-include header guard logicJakub Kicinski1-14/+6
2023-06-15tools: ynl: work around stale system headersJakub Kicinski3-3/+35
2023-06-13tools: ynl-gen: inherit policy in multi-attrJakub Kicinski1-18/+24
2023-06-13tools: ynl-gen: correct enum policiesJakub Kicinski1-2/+13
2023-06-12tools: ynl: add sample for ethtoolJakub Kicinski2-0/+66
2023-06-12tools: ynl: generate code for the ethtool familyJakub Kicinski3-3/+11890
2023-06-12tools: ynl-gen: resolve enum vs struct name conflictsJakub Kicinski1-5/+20
2023-06-12tools: ynl-gen: don't generate enum types if unnamedJakub Kicinski1-2/+10
2023-06-12netlink: specs: support setting prefix-name per attributeJakub Kicinski1-2/+5
2023-06-12tools: ynl-gen: record extra args for regenJakub Kicinski2-1/+8
2023-06-12tools: ynl-gen: support excluding tricky opsJakub Kicinski2-5/+17
2023-06-09tools: ynl-gen: support / skip pads on the way to kernelJakub Kicinski1-0/+6
2023-06-09tools: ynl-gen: don't pass op_name to RenderInfoJakub Kicinski1-19/+18
2023-06-09tools: ynl-gen: support code gen for eventsJakub Kicinski2-6/+13
2023-06-09tools: ynl-gen: sanitize notification trackingJakub Kicinski2-43/+27
2023-06-09tools: ynl: regen: stop generating common notification handlersJakub Kicinski4-98/+0
2023-06-09tools: ynl-gen: stop generating common notification handlersJakub Kicinski1-73/+0
2023-06-09tools: ynl: regen: regenerate the if laddersJakub Kicinski4-74/+67
2023-06-09tools: ynl-gen: get attr type outside of if()Jakub Kicinski1-1/+3
2023-06-09tools: ynl-gen: combine else with closing bracketJakub Kicinski1-4/+19
2023-06-09tools: ynl-gen: complete the C keyword listJakub Kicinski1-1/+34
2023-06-09tools: ynl: regen: cleanup user space header includesJakub Kicinski4-12/+4
2023-06-09tools: ynl-gen: cleanup user space header includesJakub Kicinski1-4/+1
2023-06-09Revert "tools: ynl: Remove duplicated include in handshake-user.c"Jakub Kicinski1-0/+1
2023-06-09tools: ynl: Remove duplicated include in handshake-user.cYang Li1-1/+0
2023-06-08tools: ynl: add sample for devlinkJakub Kicinski2-0/+61
2023-06-08tools: ynl: generate code for the devlink familyJakub Kicinski3-1/+932
2023-06-08tools: ynl-gen: don't generate forward declarations for policies - regenJakub Kicinski3-8/+0
2023-06-08tools: ynl-gen: don't generate forward declarations for policiesJakub Kicinski1-9/+3
2023-06-08tools: ynl-gen: walk nested types in depthJakub Kicinski1-12/+29
2023-06-08tools: ynl-gen: inherit struct use infoJakub Kicinski1-0/+8
2023-06-08tools: ynl-gen: try to sort the types more intelligentlyJakub Kicinski1-2/+24
2023-06-08tools: ynl-gen: enable code gen for directional specsJakub Kicinski2-6/+11
2023-06-08tools: ynl-gen: refactor strmap helper generationJakub Kicinski1-19/+17
2023-06-08tools: ynl-gen: use enum names in op strmap more carefullyJakub Kicinski3-2/+9
2023-06-07tools: ynl: generate code for the handshake familyJakub Kicinski3-1/+534
2023-06-07tools: ynl-gen: improve unwind on parsing errorsJakub Kicinski1-5/+17
2023-06-07tools: ynl-gen: fill in support for MultiAttr scalarsJakub Kicinski1-5/+42
2023-06-06tools: ynl: add sample for netdevJakub Kicinski3-0/+137
2023-06-06tools: ynl: support fou and netdev in CJakub Kicinski5-1/+1016
2023-06-06tools: ynl: user space helpersJakub Kicinski6-1/+1231
2023-06-06tools: ynl-gen: clean up stray new lines at the end of reply-less requestsJakub Kicinski1-3/+4
2023-06-02tools: ynl-gen: generate static descriptions of notificationsJakub Kicinski1-10/+42
2023-06-02tools: ynl-gen: switch to family structJakub Kicinski1-0/+15
2023-06-02tools: ynl-gen: generate alloc and free helpers for reqJakub Kicinski1-0/+17
2023-06-02tools: ynl-gen: move the response reading logic into YNLJakub Kicinski1-36/+27
2023-06-02tools: ynl-gen: generate enum-to-string helpersJakub Kicinski1-0/+66
2023-06-02tools: ynl-gen: add error checking for nested structsJakub Kicinski1-1/+2
2023-06-02tools: ynl-gen: loosen type consistency check for eventsJakub Kicinski1-7/+8
2023-06-02tools: ynl-gen: don't override pure nested structJakub Kicinski1-1/+2
2023-06-02tools: ynl-gen: fix unused / pad attribute handlingJakub Kicinski1-3/+17
2023-06-02tools: ynl-gen: add extra headers for user spaceJakub Kicinski1-0/+7
2023-06-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+3
2023-05-29tools: ynl: Support enums in struct members in genetlink-legacyDonald Hunter2-1/+7
2023-05-29tools: ynl: Initialise fixed headers to 0 in genetlink-legacyDonald Hunter1-1/+1
2023-05-26net: ynl: prefix uAPI header include with uapi/Jakub Kicinski1-1/+3
2023-05-25tools: 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-13tools: ynl: Rename ethtool to ethtool.pyRahul Rameshbabu1-0/+0
2023-04-13tools: ynl: Remove absolute paths to yaml files from ethtool testing toolRahul Rameshbabu1-2/+2
2023-04-11tools: ynl: throw a more meaningful exception if family not supportedJakub Kicinski1-1/+4
2023-03-30tools: ynl: ethtool testing toolStanislav Fomichev3-0/+444
2023-03-30tools: ynl: replace print with NlErrorStanislav Fomichev1-3/+9
2023-03-30tools: ynl: support byte-order in cliStanislav Fomichev2-12/+24
2023-03-28tools: ynl: Add fixed-header support to ynlDonald Hunter2-12/+33
2023-03-28tools: ynl: Add struct attr decoding to ynlDonald Hunter2-1/+16
2023-03-28tools: ynl: Add C array attribute decoding to ynlDonald Hunter2-3/+22
2023-03-28tools: ynl: Add struct parsing to nlspecDonald Hunter1-0/+43
2023-03-27tools: ynl: default to treating enums as flags for mask generationJakub Kicinski2-5/+6
2023-03-27tools: ynl: Add missing types to encode/decodeMichal Michalik1-0/+6
2023-03-24tools: ynl: add the Python requirements.txt fileMichal Michalik1-0/+2
2023-03-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+3
2023-03-23ynl: allow to encode u8 attrJiri Pirko1-0/+2
2023-03-22tools: ynl: Fix genlmsg header encoding formatsDonald Hunter1-3/+3
2023-03-21tools: ynl: skip the explicit op array size when not neededJakub Kicinski1-1/+3
2023-03-16ynl: make the tooling check the licenseJakub Kicinski2-6/+15
2023-03-16ynl: broaden the license even moreJakub Kicinski1-4/+4
2023-03-16tools: ynl: make definitions optional againJakub Kicinski1-1/+2
2023-03-10tools: ynl: fix get_mask utility routineLorenzo Bianconi1-4/+2
2023-03-10tools: ynl: fix render-max for flags definitionLorenzo Bianconi1-3/+8
2023-03-08tools: ynl: fix enum-as-flags in the generic CLIJakub Kicinski2-9/+7
2023-03-08tools: ynl: move the enum classes to shared codeJakub Kicinski3-89/+121
2023-03-07ynl: re-license uniformly under GPL-2.0 OR BSD-3-ClauseJakub Kicinski6-8/+9
2023-03-03tools: ynl: use 1 as the default for first entry in attrs/opsJakub Kicinski2-5/+8
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-24tools: ynl-gen: fix single attribute structs with attr 0 onlyJakub Kicinski1-1/+1
2023-01-31tools: net: use python3 explicitlyJakub Kicinski2-2/+2
2023-01-31tools: ynl: load jsonschema on demandJakub Kicinski2-1/+14
2023-01-31tools: ynl: use operation names from spec on the CLIJakub Kicinski2-4/+11
2023-01-31tools: ynl: support pretty printing bad attribute namesJakub Kicinski1-0/+40
2023-01-31tools: ynl: support multi-attrJakub Kicinski1-7/+14
2023-01-31tools: ynl: support directional enum-model in CLIJakub Kicinski1-4/+4
2023-01-31tools: ynl: add support for types needed by ethtoolJakub Kicinski1-1/+10
2023-01-31tools: ynl: use the common YAML loading and validation codeJakub Kicinski2-232/+142
2023-01-31tools: ynl: add an object hierarchy to represent parsed specJakub Kicinski2-1/+304
2023-01-31tools: ynl: move the cli and netlink code aroundJakub Kicinski3-1/+6
2023-01-31tools: ynl-gen: prevent do / dump reorderingJakub Kicinski1-2/+2
2023-01-26tools: ynl: store ops in ordered dict to avoid random orderingJakub Kicinski1-1/+2
2023-01-26tools: ynl: rename ops_list -> msg_listJakub Kicinski1-4/+6
2023-01-26tools: ynl: support kdocs for flags in code generationJakub Kicinski1-17/+20
2023-01-24tools: ynl: add a completely generic clientJakub Kicinski2-0/+581
2023-01-24net: add basic C code generators for NetlinkJakub Kicinski2-0/+2403
2017-10-04tools: rename tools/net directory to tools/bpfJakub Kicinski6-2656/+0
2017-06-14tools: bpf_jit_disasm: Handle large images.David Daney1-11/+26
2017-04-13tools: bpf_jit_disasm: Add option to dump JIT image to a file.David Daney1-4/+36
2016-05-08tools: bpf_jit_disasm: check for klogctl failureColin Ian King1-0/+3
2016-02-22tools, bpf_asm: simplify parser rule for BPF extensionsRay Bellis2-151/+79
2016-02-11bpf_dbg: do not initialise statics to 0Wei Tang1-5/+5
2015-11-15tools/net: Use include/uapi with __EXPORTED_HEADERS__Kamal Mostafa1-3/+4
2015-09-28tools: bpf_jit_disasm: make get_last_jit_image return unsignedAndrzej Hajda1-2/+2
2015-07-31bpf_jit_disasm: also support reading jit dump from fileDaniel Borkmann1-19/+90
2015-05-27tools: bpf_jit_disasm: fix segfault on disabled debugging log outputDaniel Borkmann1-0/+2
2015-03-24tools: bpf_asm: cleanup vlan extension related tokenDaniel Borkmann2-14/+14
2015-03-24filter: introduce SKF_AD_VLAN_TPID BPF extensionMichal Sekletar2-1/+12
2014-05-16tools: bpf_jit_disasm: increase image buffer sizeAlexei Starovoitov1-1/+1
2014-05-16tools: bpf_jit_disasm: ignore image address for disasmAlexei Starovoitov1-10/+8
2014-05-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2014-04-30bpf_dbg: fix wrong register usageBrendan Hickey1-1/+1
2014-04-22filter: added BPF random opcodeChema Gonzalez2-1/+11
2014-03-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2014-03-12tools/net/Makefile: Define PACKAGE to fix build problemsMarkos Chandras1-1/+1
2014-02-24tools: bpf_dbg: various misc code cleanupsDaniel Borkmann1-64/+55
2013-12-17bpf_exp: free duplicated labels at exit timeDaniel Borkmann1-7/+20
2013-12-17bpf_dbg: always close socket in bpf_runnableDaniel Borkmann1-1/+1
2013-12-11filter: bpf_asm: add minimal bpf asm toolDaniel Borkmann4-2/+960
2013-12-11filter: bpf_dbg: add minimal bpf debuggerDaniel Borkmann2-2/+1411
2013-03-21filter: add minimal BPF JIT image disassemblerDaniel Borkmann2-0/+214