Home
last modified time | relevance | path

Searched refs:ynl (Results 1 – 21 of 21) sorted by relevance

/linux/tools/net/ynl/
A Dethtool.py13 def args_to_req(ynl, op_name, args, req): argument
73 def doit(ynl, args, op_name): argument
83 args_to_req(ynl, op_name, args.args, req)
84 ynl.do(op_name, req)
86 def dumpit(ynl, args, op_name, extra = {}): argument
162 ynl = YnlFamily(spec, schema)
170 return doit(ynl, args, 'eee-set')
173 return doit(ynl, args, 'pause-set')
187 return doit(ynl, args, 'rings-set')
195 eee = dumpit(ynl, args, 'eee-get')
[all …]
A Dcli.py75 ynl = YnlFamily(args.spec, args.schema, args.process_unknown,
78 ynl.set_recv_dbg(True)
81 ynl.ntf_subscribe(args.ntf)
87 for op_name, op in ynl.ops.items():
90 for op_name, op in ynl.msgs.items():
95 reply = ynl.do(args.do, attrs, args.flags)
98 reply = ynl.dump(args.dump, attrs)
102 reply = ynl.do_multi(ops)
109 ynl.check_ntf()
110 output(ynl.async_msg_queue)
A DMakefile10 @ar rcs $@ lib/ynl.o generated/*-user.o
A Dynl-regen.sh4 TOOL=$(dirname $(realpath $0))/ynl-gen-c.py
/linux/tools/testing/selftests/net/
A Dynl.mk16 -I$(top_srcdir)/tools/net/ynl/lib/ \
17 -I$(top_srcdir)/tools/net/ynl/generated/
20 $(Q)$(MAKE) -C $(top_srcdir)/tools/net/ynl GENS="$(YNL_GENS)" libynl.a
21 $(Q)cp $(top_srcdir)/tools/net/ynl/libynl.a $(OUTPUT)/libynl.a
24 $(top_srcdir)/tools/net/ynl/lib/__pycache__ \
25 $(top_srcdir)/tools/net/ynl/lib/*.[ado]
A DMakefile117 include ynl.mk
/linux/Documentation/userspace-api/netlink/
A Dintro-specs.rst18 The tool is located at ``tools/net/ynl/cli.py``. It accepts
30 $ ./tools/net/ynl/cli.py --spec Documentation/netlink/specs/ethtool.yaml \
56 ``tools/net/ynl/ynl-regen.sh`` scans the kernel tree in search of
63 ``ynl-regen.sh`` searches for ``YNL-GEN`` in the contents of files
70 ``ynl-regen.sh`` will find this marker and replace the file with
78 The code generation itself is performed by ``tools/net/ynl/ynl-gen-c.py``
85 ``tools/net/ynl/lib/`` contains an implementation of a C library
87 ``tools/net/ynl/ynl-gen-c.py`` to create easy to use netlink wrappers.
/linux/Documentation/networking/netlink_spec/
A Dreadme.txt4 tools/net/ynl/ynl-gen-rst.py script.
/linux/tools/net/ynl/lib/
A DMakefile14 all: ynl.a
16 ynl.a: $(OBJS)
A D__init__.py5 from .ynl import YnlFamily, Netlink, NlError
A Dynl.py389 def decode(self, ynl, nl_msg, op): argument
392 op = ynl.rsp_by_value[msg.cmd()]
393 fixed_header_size = ynl._struct_size(op.fixed_header)
/linux/tools/net/ynl/samples/
A DMakefile12 LDLIBS=../lib/ynl.a ../generated/protos.a
23 $(BINS): ../lib/ynl.a ../generated/protos.a $(SRCS)
/linux/tools/testing/selftests/net/lib/py/
A Dynl.py16 from net.lib.ynl.lib import YnlFamily, NlError
23 from net.ynl.lib import YnlFamily, NlError
A D__init__.py8 from .ynl import NlError, YnlFamily, EthtoolFamily, NetdevFamily, RtnlFamily
/linux/tools/net/ynl/generated/
A DMakefile15 TOOL:=../ynl-gen-c.py
50 @../ynl-regen.sh
/linux/tools/testing/selftests/net/lib/
A DMakefile9 TEST_FILES += ../../../../net/ynl
/linux/Documentation/
A DMakefile107 YNL_TOOL:=$(srctree)/tools/net/ynl/ynl-gen-rst.py
/linux/Documentation/networking/
A Dmulti-pf-netdev.rst92 …$ ./tools/net/ynl/cli.py --spec Documentation/netlink/specs/netdev.yaml --dump queue-get --json='{…
104 …$ ./tools/net/ynl/cli.py --spec Documentation/netlink/specs/netdev.yaml --dump napi-get --json='{"…
A Dxsk-tx-metadata.rst78 See ``tools/net/ynl/samples/netdev.c`` on how to query this information.
A Dstatistics.rst50 Kernel development tools (ynl) can be used to experiment with them,
/linux/
A DMAINTAINERS25572 F: tools/net/ynl/

Completed in 48 milliseconds