<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/Documentation/netlink, branch linux-6.15.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.15.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.15.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-08-15T10:16:58Z</updated>
<entry>
<title>netlink: specs: ethtool: fix module EEPROM input/output arguments</title>
<updated>2025-08-15T10:16:58Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2025-07-30T17:21:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d925c6971cdf67f000947ac824027681cbe9ef81'/>
<id>urn:sha1:d925c6971cdf67f000947ac824027681cbe9ef81</id>
<content type='text'>
[ Upstream commit 01051012887329ea78eaca19b1d2eac4c9f601b5 ]

Module (SFP) eeprom GET has a lot of input params, they are all
mistakenly listed as output in the spec. Looks like kernel doesn't
output them at all. Correct what are the inputs and what the outputs.

Reported-by: Duo Yi &lt;duo@meta.com&gt;
Fixes: a353318ebf24 ("tools: ynl: populate most of the ethtool spec")
Acked-by: Stanislav Fomichev &lt;sdf@fomichev.me&gt;
Link: https://patch.msgid.link/20250730172137.1322351-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>netlink: specs: tc: replace underscores with dashes in names</title>
<updated>2025-07-06T09:04:16Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2025-06-24T21:10:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e4d70f4577af7238eaf8860415e36046943a312f'/>
<id>urn:sha1:e4d70f4577af7238eaf8860415e36046943a312f</id>
<content type='text'>
[ Upstream commit eef0eaeca7fa8e358a31e89802f564451b797718 ]

We're trying to add a strict regexp for the name format in the spec.
Underscores will not be allowed, dashes should be used instead.
This makes no difference to C (codegen, if used, replaces special
chars in names) but it gives more uniform naming in Python.

Fixes: a1bcfde83669 ("doc/netlink/specs: Add a spec for tc")
Reviewed-by: Donald Hunter &lt;donald.hunter@gmail.com&gt;
Link: https://patch.msgid.link/20250624211002.3475021-10-kuba@kernel.org
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>netlink: specs: rt-link: decode ip6gre</title>
<updated>2025-06-19T13:40:44Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2025-06-03T13:53:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ac08fcacd29bee33ed9ad1da15f5828bc3c7477c'/>
<id>urn:sha1:ac08fcacd29bee33ed9ad1da15f5828bc3c7477c</id>
<content type='text'>
[ Upstream commit 8af7a919c52f02514a145f995cbdf0deadb8075a ]

Driver tests now require GRE tunnels, while we don't configure
them with YNL, YNL will complain when it sees link types it
doesn't recognize. Teach it decoding ip6gre tunnels. The attrs
are largely the same as IPv4 GRE.

Correct the type of encap-limit, but note that this attr is
only used in ip6gre, so the mistake didn't matter until now.

Fixes: 0d0f4174f6c8 ("selftests: drv-net: add a simple TSO test")
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
Reviewed-by: Donald Hunter &lt;donald.hunter@gmail.com&gt;
Link: https://patch.msgid.link/20250603135357.502626-3-kuba@kernel.org
Signed-off-by: Paolo Abeni &lt;pabeni@redhat.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>netlink: specs: rt-link: add missing byte-order properties</title>
<updated>2025-06-19T13:40:44Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2025-06-03T13:53:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3c8745e7bd9da77749e37eea9577f51c017dd8ad'/>
<id>urn:sha1:3c8745e7bd9da77749e37eea9577f51c017dd8ad</id>
<content type='text'>
[ Upstream commit de92258e3b22bd4ce920715cc91f09d788e5badf ]

A number of fields in the ip tunnels are lacking the big-endian
designation. I suspect this is not intentional, as decoding
the ports with the right endian seems objectively beneficial.

Fixes: 6ffdbb93a59c ("netlink: specs: rt_link: decode ip6tnl, vti and vti6 link attrs")
Fixes: 077b6022d24b ("doc/netlink/specs: Add sub-message type to rt_link family")
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
Reviewed-by: Donald Hunter &lt;donald.hunter@gmail.com&gt;
Link: https://patch.msgid.link/20250603135357.502626-2-kuba@kernel.org
Signed-off-by: Paolo Abeni &lt;pabeni@redhat.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>netlink: specs: tc: all actions are indexed arrays</title>
<updated>2025-05-15T02:11:15Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2025-05-13T22:16:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f3dd5fb2fa494dcbdb10f8d27f2deac8ef61a2fc'/>
<id>urn:sha1:f3dd5fb2fa494dcbdb10f8d27f2deac8ef61a2fc</id>
<content type='text'>
Some TC filters have actions listed as indexed arrays of nests
and some as just nests. They are all indexed arrays, the handling
is common across filters.

Fixes: 2267672a6190 ("doc/netlink/specs: Update the tc spec")
Link: https://patch.msgid.link/20250513221638.842532-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>netlink: specs: tc: fix a couple of attribute names</title>
<updated>2025-05-15T02:11:09Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2025-05-13T22:13:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a9fb87b8b86918e34ef6bf3316311f41bc1a5b1f'/>
<id>urn:sha1:a9fb87b8b86918e34ef6bf3316311f41bc1a5b1f</id>
<content type='text'>
Fix up spelling of two attribute names. These are clearly typoes
and will prevent C codegen from working. Let's treat this as
a fix to get the correction into users' hands ASAP, and prevent
anyone depending on the wrong names.

Fixes: a1bcfde83669 ("doc/netlink/specs: Add a spec for tc")
Link: https://patch.msgid.link/20250513221316.841700-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>netlink: specs: ethtool: Remove UAPI duplication of phy-upstream enum</title>
<updated>2025-04-28T22:49:47Z</updated>
<author>
<name>Kory Maincent</name>
</author>
<published>2025-04-25T17:14:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=10c34b7d71a4ff8c06d926f1846edf8295ed75bf'/>
<id>urn:sha1:10c34b7d71a4ff8c06d926f1846edf8295ed75bf</id>
<content type='text'>
The phy-upstream enum is already defined in the ethtool.h UAPI header
and used by the ethtool userspace tool. However, the ethtool spec does
not reference it, causing YNL to auto-generate a duplicate and redundant
enum.

Fix this by updating the spec to reference the existing UAPI enum
in ethtool.h.

Signed-off-by: Kory Maincent &lt;kory.maincent@bootlin.com&gt;
Link: https://patch.msgid.link/20250425171419.947352-1-kory.maincent@bootlin.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>netlink: specs: rt-neigh: prefix struct nfmsg members with ndm</title>
<updated>2025-04-17T01:09:42Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2025-04-14T21:18:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e31f86ee4b9ccb844baf2131da8e5d4d6f23aa1d'/>
<id>urn:sha1:e31f86ee4b9ccb844baf2131da8e5d4d6f23aa1d</id>
<content type='text'>
Attach ndm- to all members of struct nfmsg. We could possibly
use name-prefix just for C, but I don't think we have any precedent
for using name-prefix on structs, and other rtnetlink sub-specs
give full names for fixed header struct members.

Fixes: bc515ed06652 ("netlink: specs: Add a spec for neighbor tables in rtnetlink")
Reviewed-by: Donald Hunter &lt;donald.hunter@gmail.com&gt;
Reviewed-by: Jacob Keller &lt;jacob.e.keller@intel.com&gt;
Link: https://patch.msgid.link/20250414211851.602096-9-kuba@kernel.org
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>netlink: specs: rt-link: adjust mctp attribute naming</title>
<updated>2025-04-17T01:09:42Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2025-04-14T21:18:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=beb3c5ad8829b52057f48a776a9d9558b98c157f'/>
<id>urn:sha1:beb3c5ad8829b52057f48a776a9d9558b98c157f</id>
<content type='text'>
MCTP attribute naming is inconsistent. In C we have:
    IFLA_MCTP_NET,
    IFLA_MCTP_PHYS_BINDING,
         ^^^^

but in YAML:
    - mctp-net
    - phys-binding
      ^
       no "mctp"

It's unclear whether the "mctp" part of the name is supposed
to be a prefix or part of attribute name. Make it a prefix,
seems cleaner, even tho technically phys-binding was added later.

Fixes: b2f63d904e72 ("doc/netlink: Add spec for rt link messages")
Reviewed-by: Donald Hunter &lt;donald.hunter@gmail.com&gt;
Reviewed-by: Jacob Keller &lt;jacob.e.keller@intel.com&gt;
Link: https://patch.msgid.link/20250414211851.602096-8-kuba@kernel.org
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>netlink: specs: rtnetlink: attribute naming corrections</title>
<updated>2025-04-17T01:09:42Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2025-04-14T21:18:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=540201c0ef7e8e7b169f68a238ade931a81a31a6'/>
<id>urn:sha1:540201c0ef7e8e7b169f68a238ade931a81a31a6</id>
<content type='text'>
Some attribute names diverge in very minor ways from the C names.
These are most likely typos, and they prevent the C codegen from
working.

Fixes: bc515ed06652 ("netlink: specs: Add a spec for neighbor tables in rtnetlink")
Fixes: b2f63d904e72 ("doc/netlink: Add spec for rt link messages")
Reviewed-by: Donald Hunter &lt;donald.hunter@gmail.com&gt;
Reviewed-by: Jacob Keller &lt;jacob.e.keller@intel.com&gt;
Link: https://patch.msgid.link/20250414211851.602096-7-kuba@kernel.org
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
</feed>
