<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/tools/net/ynl/Makefile.deps, branch master</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=master</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-12-09T07:53:17Z</updated>
<entry>
<title>tools: ynl: fix build on systems with old kernel headers</title>
<updated>2025-12-09T07:53:17Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2025-12-07T01:38:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=db6b35cffe59c619ea3772b21d7c7c8a7b885dc1'/>
<id>urn:sha1:db6b35cffe59c619ea3772b21d7c7c8a7b885dc1</id>
<content type='text'>
The wireguard YNL conversion was missing the customary .deps entry.
NIPA doesn't catch this but my CentOS 9 system complains:

 wireguard-user.c:72:10: error: ‘WGALLOWEDIP_A_FLAGS’ undeclared here
 wireguard-user.c:58:67: error: parameter 1 (‘value’) has incomplete type
 58 | const char *wireguard_wgallowedip_flags_str(enum wgallowedip_flag value)
    |                                             ~~~~~~~~~~~~~~~~~~~~~~^~~~~

And similarly does Ubuntu 22.04.

One extra complication here is that we renamed the header guard,
so we need to compat with both old and new guard define.

Reviewed-by: Asbjørn Sloth Tønnesen &lt;ast@fiberby.net&gt;
Link: https://patch.msgid.link/20251207013848.1692990-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>psp: base PSP device support</title>
<updated>2025-09-18T10:32:06Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2025-09-17T00:09:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=00c94ca2b99e6610e483f92e531b319eeaed94aa'/>
<id>urn:sha1:00c94ca2b99e6610e483f92e531b319eeaed94aa</id>
<content type='text'>
Add a netlink family for PSP and allow drivers to register support.

The "PSP device" is its own object. This allows us to perform more
flexible reference counting / lifetime control than if PSP information
was part of net_device. In the future we should also be able
to "delegate" PSP access to software devices, such as *vlan, veth
or netkit more easily.

Reviewed-by: Willem de Bruijn &lt;willemb@google.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
Signed-off-by: Daniel Zahka &lt;daniel.zahka@gmail.com&gt;
Reviewed-by: Eric Dumazet &lt;edumazet@google.com&gt;
Link: https://patch.msgid.link/20250917000954.859376-3-daniel.zahka@gmail.com
Signed-off-by: Paolo Abeni &lt;pabeni@redhat.com&gt;

</content>
</entry>
<entry>
<title>tools: ynl: enable codegen for TC</title>
<updated>2025-05-21T19:38:23Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2025-05-20T16:19:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e06c9d25159c0b12518c68ffe3e400d49d5284e0'/>
<id>urn:sha1:e06c9d25159c0b12518c68ffe3e400d49d5284e0</id>
<content type='text'>
We are ready to support most of TC. Enable C code gen.

Reviewed-by: Donald Hunter &lt;donald.hunter@gmail.com&gt;
Link: https://patch.msgid.link/20250520161916.413298-11-kuba@kernel.org
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>tools: ynl-gen: add makefile deps for neigh</title>
<updated>2025-05-21T19:38:20Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2025-05-20T16:19:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8b8762eeec59b959fbca60afffe21265bce67168'/>
<id>urn:sha1:8b8762eeec59b959fbca60afffe21265bce67168</id>
<content type='text'>
Kory is reporting build issues after recent additions to YNL
if the system headers are old.

Link: https://lore.kernel.org/20250519164949.597d6e92@kmaincent-XPS-13-7390
Reported-by: Kory Maincent &lt;kory.maincent@bootlin.com&gt;
Fixes: 0939a418b3b0 ("tools: ynl: submsg: reverse parse / error reporting")
Tested-by: Kory Maincent &lt;kory.maincent@bootlin.com&gt;
Link: https://patch.msgid.link/20250520161916.413298-2-kuba@kernel.org
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>tools: ynl: enable codegen for all rt- families</title>
<updated>2025-05-16T23:32:06Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2025-05-15T23:16:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6bab77ced3ffbce3d6c5b5bcce17da7c8a3f8266'/>
<id>urn:sha1:6bab77ced3ffbce3d6c5b5bcce17da7c8a3f8266</id>
<content type='text'>
Switch from including Classic netlink families one by one to excluding.

Reviewed-by: Donald Hunter &lt;donald.hunter@gmail.com&gt;
Link: https://patch.msgid.link/20250515231650.1325372-9-kuba@kernel.org
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>tools: ynl: fix the header guard name for OVPN</title>
<updated>2025-04-25T01:28:52Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2025-04-23T22:02:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f74d14a7dfb10ba908ce799d2176817d097713c7'/>
<id>urn:sha1:f74d14a7dfb10ba908ce799d2176817d097713c7</id>
<content type='text'>
Thorsten reports that after upgrading system headers from linux-next
the YNL build breaks. I typo'ed the header guard, _H is missing.

Reported-by: Thorsten Leemhuis &lt;linux@leemhuis.info&gt;
Link: https://lore.kernel.org/59ba7a94-17b9-485f-aa6d-14e4f01a7a39@leemhuis.info
Fixes: 12b196568a3a ("tools: ynl: add missing header deps")
Reviewed-by: Jacob Keller &lt;jacob.e.keller@intel.com&gt;
Tested-by: Thorsten Leemhuis &lt;linux@leemhuis.info&gt;
Reviewed-by: Joe Damato &lt;jdamato@fastly.com&gt;
Link: https://patch.msgid.link/20250423220231.1035931-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>tools: ynl: add missing header deps</title>
<updated>2025-04-21T23:48:16Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2025-04-18T23:49:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=12b196568a3a7a32d18fc82fdef82832e9b94d0f'/>
<id>urn:sha1:12b196568a3a7a32d18fc82fdef82832e9b94d0f</id>
<content type='text'>
Various new families and my recent work on rtnetlink missed
adding dependencies on C headers. If the system headers are
up to date or don't include a given header at all this doesn't
make a difference. But if the system headers are in place but
stale - compilation will break.

Reported-by: Kory Maincent &lt;kory.maincent@bootlin.com&gt;
Fixes: 29d34a4d785b ("tools: ynl: generate code for rt-addr and add a sample")
Link: https://lore.kernel.org/20250418190431.69c10431@kmaincent-XPS-13-7390
Acked-by: Stanislav Fomichev &lt;sdf@fomichev.me&gt;
Tested-by: Kory Maincent &lt;kory.maincent@bootlin.com&gt;
Reviewed-by: Jacob Keller &lt;jacob.e.keller@intel.com&gt;
Link: https://patch.msgid.link/20250418234942.2344036-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>tools: ynl: generate code for rt-route and add a sample</title>
<updated>2025-04-11T03:14:42Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2025-04-10T01:46:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=54d790856c73d71240835e7929235bdf710b57f4'/>
<id>urn:sha1:54d790856c73d71240835e7929235bdf710b57f4</id>
<content type='text'>
YNL C can now generate code for simple classic netlink families.
Include rt-route in the Makefile for generation and add a sample.

    $ ./tools/net/ynl/samples/rt-route
    oif: wlp0s20f3        gateway: 192.168.1.1
    oif: wlp0s20f3        dst: 192.168.1.0/24
    oif: vpn0             dst: fe80::/64
    oif: wlp0s20f3        dst: fe80::/64
    oif: wlp0s20f3        gateway: fe80::200:5eff:fe00:201

Reviewed-by: Jacob Keller &lt;jacob.e.keller@intel.com&gt;
Reviewed-by: Donald Hunter &lt;donald.hunter@gmail.com&gt;
Link: https://patch.msgid.link/20250410014658.782120-14-kuba@kernel.org
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>tools: ynl: generate code for rt-addr and add a sample</title>
<updated>2025-04-11T03:14:41Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2025-04-10T01:46:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=29d34a4d785bbf389d57bfdafe2a19dad6ced3a4'/>
<id>urn:sha1:29d34a4d785bbf389d57bfdafe2a19dad6ced3a4</id>
<content type='text'>
YNL C can now generate code for simple classic netlink families.
Include rt-addr in the Makefile for generation and add a sample.

  $ ./tools/net/ynl/samples/rt-addr
              lo: 127.0.0.1
       wlp0s20f3: 192.168.1.101
              lo: ::
       wlp0s20f3: fe80::6385:be6:746e:8116
            vpn0: fe80::3597:d353:b5a7:66dd

Reviewed-by: Jacob Keller &lt;jacob.e.keller@intel.com&gt;
Reviewed-by: Donald Hunter &lt;donald.hunter@gmail.com&gt;
Link: https://patch.msgid.link/20250410014658.782120-13-kuba@kernel.org
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>netlink: specs: wireless: add a spec for nl80211</title>
<updated>2025-02-13T03:32:26Z</updated>
<author>
<name>Donald Hunter</name>
</author>
<published>2025-02-11T12:01:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=31438709ecdb12539fc48ad691c27c4c11c0a56b'/>
<id>urn:sha1:31438709ecdb12539fc48ad691c27c4c11c0a56b</id>
<content type='text'>
Add a rudimentary YNL spec for nl80211 that covers get-wiphy,
get-interface and get-protocol-features.

./tools/net/ynl/pyynl/cli.py --family nl80211 \
    --do get-protocol-features
{'protocol-features': {'split-wiphy-dump'}}

./tools/net/ynl/pyynl/cli.py --family nl80211 \
    --dump get-wiphy --json '{ "split-wiphy-dump": true }'

./tools/net/ynl/pyynl/cli.py --family nl80211 \
    --dump get-interface

Signed-off-by: Donald Hunter &lt;donald.hunter@gmail.com&gt;
Acked-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Link: https://patch.msgid.link/20250211120127.84858-11-donald.hunter@gmail.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
</feed>
