Searched refs:ynl (Results 1 – 15 of 15) sorted by relevance
| /linux/tools/net/ynl/pyynl/ |
| H A D | ethtool.py | |
| H A D | cli.py | 21 SYS_SCHEMA_DIR='/usr/share/ynl' 76 """A custom encoder for emitting JSON with ynl-specific instance types""" 85 def print_attr_list(ynl, attr_names, attr_set, indent=2): 96 if enum_name in ynl.consts: 97 const = ynl.consts[enum_name] 117 if nested_set_name in ynl.attr_sets: 118 nested_set = ynl.attr_sets[nested_set_name] 123 print_attr_list(ynl, nested_names, nested_set, indent + 4) 126 def print_mode_attrs(ynl, mode, mode_spec, attr_set, consistent_dd_reply=None): 132 print_attr_list(ynl, mode_spe [all...] |
| /linux/tools/testing/selftests/net/ |
| H A D | ynl.mk | 19 -I$(top_srcdir)/tools/net/ynl/lib/ \ 20 -I$(top_srcdir)/tools/net/ynl/generated/ 30 $(Q)rm -f $(top_srcdir)/tools/net/ynl/libynl.a 31 $(Q)$(MAKE) -C $(top_srcdir)/tools/net/ynl \ 33 $(Q)cp $(top_srcdir)/tools/net/ynl/libynl.a $(OUTPUT)/libynl.a 36 $(top_srcdir)/tools/net/ynl/pyynl/__pycache__ \ 37 $(top_srcdir)/tools/net/ynl/pyynl/lib/__pycache__ \ 38 $(top_srcdir)/tools/net/ynl/lib/*.[ado] \
|
| H A D | Makefile | 229 include ynl.mk
|
| /linux/Documentation/userspace-api/netlink/ |
| H A D | intro-specs.rst | 18 The tool is located at ``tools/net/ynl/pyynl/cli.py``. It accepts 30 $ ./tools/net/ynl/pyynl/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/pyynl/ynl_gen_c.py`` 85 ``tools/net/ynl/lib/`` contains an implementation of a C library 87 ``tools/net/ynl/pyynl/ynl_gen_c.py`` to create easy to use netlink wrappers.
|
| /linux/tools/net/ynl/ |
| H A D | Makefile | 25 @ar rcs $@ lib/ynl.o generated/*-user.o 49 @$(INSTALL) -d $(DESTDIR)$(includedir)/ynl 50 @$(INSTALL) -m 0644 lib/*.h $(DESTDIR)$(includedir)/ynl/
|
| /linux/tools/testing/selftests/net/lib/py/ |
| H A D | __init__.py | 19 from .ynl import NlError, NlctrlFamily, YnlFamily, \ 21 from .ynl import NetshaperFamily, DevlinkFamily, PSPFamily, Netlink
|
| H A D | ynl.py | 16 from net.lib.ynl.pyynl.lib import YnlFamily, NlError, NlPolicy, Netlink 23 from net.ynl.pyynl.lib import YnlFamily, NlError, NlPolicy, Netlink 25 ksft_pr("Failed importing `ynl` library from kernel sources")
|
| /linux/tools/ |
| H A D | Makefile | 123 ynl: FORCE target 124 $(call descend,net/ynl) 130 debugging tracing thermal thermometer thermal-engine ynl
|
| /linux/tools/testing/selftests/net/lib/ |
| H A D | Makefile | 9 ../../../../net/ynl \
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | Makefile | 37 include ../../net/ynl.mk
|
| /linux/tools/testing/selftests/drivers/net/hw/ |
| H A D | Makefile | 82 include ../../../net/ynl.mk
|
| /linux/tools/net/ynl/pyynl/lib/ |
| H A D | ynl.py | 153 pol = ynl.get_policy('page-pool-stats-get', 'do') 165 def __init__(self, ynl, policy_idx, policy_table, attr_set, props=None): 168 self._ynl = ynl 588 def decode(self, ynl, nl_msg, op): 591 op = ynl.rsp_by_value[msg.cmd()] 592 fixed_header_size = ynl.struct_size(op.fixed_header) 665 ynl.<op_name>(attrs, ...) 670 ynl.<op_name> is a shorthand / convenience wrapper for the following 673 ynl.do(op_name, attrs, flags=None) -- execute a do operation 674 ynl 397 decode(self, ynl, nl_msg, op) global() argument [all...] |
| /linux/Documentation/networking/ |
| H A D | xsk-tx-metadata.rst | 140 See ``tools/net/ynl/samples/netdev.c`` on how to query this information.
|
| /linux/ |
| H A D | MAINTAINERS | 7654 F: tools/net/ynl/pyynl/lib/doc_generator.py 29368 F: tools/net/ynl/
|