linux/Documentation/userspace-api/netlink
Jakub Kicinski cd5e64fb95 netlink: specs: rename rtnetlink specs in accordance with family name
The rtnetlink family names are set to rt-$name within the YAML
but the files are called rt_$name. C codegen assumes that the
generated file name will match the family. The use of dashes
is in line with our general expectation that name properties
in the spec use dashes not underscores (even tho, as Donald
points out most genl families use underscores in the name).

We have 3 un-ideal options to choose from:

 - accept the slight inconsistency with old families using _, or
 - accept the slight annoyance with all languages having to do s/-/_/
   when looking up family ID, or
 - accept the inconsistency with all name properties in new YAML spec
   being separated with - and just the family name always using _.

Pick option 1 and rename the rtnl spec files.

Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20250410014658.782120-2-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-04-10 20:14:40 -07:00
..
c-code-gen.rst ynl: support enum-cnt-name attribute in legacy definitions 2024-12-05 12:03:03 -08:00
genetlink-legacy.rst ynl: support binary and integer sub-type for indexed-array 2024-04-05 22:32:49 -07:00
index.rst docs: netlink: link to family documentations from spec info 2023-11-30 23:17:53 -08:00
intro-specs.rst tools: ynl: move python code to separate sub-directory 2025-01-09 12:53:27 -08:00
intro.rst docs: netlink: add NLMSG_DONE message format for doit actions 2023-12-04 14:42:12 -08:00
netlink-raw.rst netlink: specs: rename rtnetlink specs in accordance with family name 2025-04-10 20:14:40 -07:00
specs.rst docs: netlink: link to family documentations from spec info 2023-11-30 23:17:53 -08:00