aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/gdb/linux/vmalloc.py
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2025-05-16 16:32:08 -0700
committerJakub Kicinski <kuba@kernel.org>2025-05-16 16:32:08 -0700
commit9e1f7a3119cd4c5678f226033a9b9fb98917700b (patch)
treee7f153f620511bbcd30673b1016ee232c6317605 /scripts/gdb/linux/vmalloc.py
parentnet: phy: microchip: document where the LAN88xx PHYs are used (diff)
parenttools: ynl: add a sample for rt-link (diff)
downloadwireguard-linux-9e1f7a3119cd4c5678f226033a9b9fb98917700b.tar.xz
wireguard-linux-9e1f7a3119cd4c5678f226033a9b9fb98917700b.zip
Merge branch 'tools-ynl-gen-support-sub-messages-and-rt-link'
Jakub Kicinski says: ==================== tools: ynl-gen: support sub-messages and rt-link Sub-messages are how we express "polymorphism" in YNL. Donald added the support to specs and Python a while back, support them in C, too. Sub-message is a nest, but the interpretation of the attribute types within that nest depends on a value of another attribute. For example in rt-link the "kind" attribute contains the link type (veth, bonding, etc.) and based on that the right enum has to be applied to interpret link-specific attributes. The last message is probably the most interesting to look at, as it adds a fairly advanced sample. This patch only contains enough support for rtnetlink, we will need a little more complexity to support TC, where sub-messages may contain fixed headers, and where the selector may be in a different nest than the submessage. ==================== Link: https://patch.msgid.link/20250515231650.1325372-1-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions