Skip to content

netlink: specs: rtnetlink: adjust specs for C codegen

Jakub Kicinski netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 12 repliesApplied 12/12

Patches in v1 All 12 applied

#Subject and filesSizeRepliesApplied
1/12netlink: specs: allow header properties for attribute setsDocumentation/netlink/genetlink-c.yaml Documentation/netlink/genetlink-legacy.yaml Documentation/netlink/netlink-raw.yaml +1 more+10 -11 replyApplied
2/12netlink: specs: rt-link: remove the fixed members from attrsDocumentation/netlink/specs/rt-link.yaml+0 -131 replyApplied
3/12netlink: specs: rt-link: remove if-netnsid from attr listDocumentation/netlink/specs/rt-link.yaml+0 -11 replyApplied
4/12netlink: specs: rt-link: remove duplicated group in attr listDocumentation/netlink/specs/rt-link.yaml+0 -11 replyApplied
5/12netlink: specs: rt-link: add C naming infoDocumentation/netlink/specs/rt-link.yaml+29 -11 replyApplied
6/12netlink: specs: rt-link: adjust AF_ nest for C codegenDocumentation/netlink/specs/rt-link.yaml+5 -31 replyApplied
7/12netlink: specs: rt-link: make bond's ipv6 address attribute fixed sizeDocumentation/netlink/specs/rt-link.yaml+2 -01 replyApplied
8/12netlink: specs: rt-link: add notification for newlinkDocumentation/netlink/specs/rt-link.yaml+6 -01 replyApplied
9/12netlink: specs: rt-neigh: add C naming infoDocumentation/netlink/specs/rt-neigh.yaml+9 -01 replyApplied
10/12netlink: specs: rt-neigh: make sure getneigh is consistentDocumentation/netlink/specs/rt-neigh.yaml+1 -01 replyApplied
11/12netlink: specs: rtnetlink: correct notify propertiesDocumentation/netlink/specs/rt-neigh.yaml Documentation/netlink/specs/rt-rule.yaml+3 -31 replyApplied
12/12netlink: specs: rt-rule: add C naming infoDocumentation/netlink/specs/rt-rule.yaml+4 -01 replyApplied

Reviews trailers per patch

All 12 patches have a Reviewed-by or Acked-by.

PatchDonald Hunter
1/12R-b
2/12R-b
3/12R-b
4/12R-b
5/12R-b
6/12R-b
7/12R-b
8/12R-b
9/12R-b
10/12R-b
11/12R-b
12/12R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 00/12] netlink: specs: rtnetlink: adjust specs for C codegen

The first patch brings a schema extension allowing specifying "header" (as in .h file) properties in attribute sets. This is used for rare cases where we carry attributes from another family in a nest - we need to include the extra headers. If we were to generate kernel code we'd also need to skip it in the uAPI output.

The remaining 11 patches are pretty boring schema adjustments.

Jakub Kicinski (12):
netlink: specs: allow header properties for attribute sets
netlink: specs: rt-link: remove the fixed members from attrs
netlink: specs: rt-link: remove if-netnsid from attr list
netlink: specs: rt-link: remove duplicated group in attr list
netlink: specs: rt-link: add C naming info
netlink: specs: rt-link: adjust AF_ nest for C codegen
netlink: specs: rt-link: make bond's ipv6 address attribute fixed size
netlink: specs: rt-link: add notification for newlink
netlink: specs: rt-neigh: add C naming info
netlink: specs: rt-neigh: make sure getneigh is consistent
netlink: specs: rtnetlink: correct notify properties
netlink: specs: rt-rule: add C naming info

 Documentation/netlink/genetlink-c.yaml      |  3 +
 Documentation/netlink/genetlink-legacy.yaml |  3 +
 Documentation/netlink/netlink-raw.yaml      |  3 +
 Documentation/netlink/specs/rt-link.yaml    | 61 ++++++++++++++-------
 Documentation/netlink/specs/rt-neigh.yaml   | 12 +++-
 Documentation/netlink/specs/rt-rule.yaml    |  8 ++-
 tools/net/ynl/pyynl/ynl_gen_c.py            |  2 +-
 7 files changed, 69 insertions(+), 23 deletions(-)
Signature · 1 line
2.49.0