Skip to content

devlink: netlink spec fixes

Jakub Kicinski netdev 2 versions – 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 · linked by author and title

  1. v2 Latest9 patches 3 repliesApplied 9/9
  2. v18 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- [patch 1] reword commit msg
- [patch 6] also update the attr list in the spec for region get
- [patch 7] include port-index in the subset attr list
- [patch 9] new patch
v1: https://lore.kernel.org/[email protected]

Patches in v2 All 9 applied

#Subject and filesSizeRepliesApplied
1/9devlink: fix the enum behind DEVLINK_ATTR_RELOAD_LIMITSDocumentation/netlink/specs/devlink.yaml net/devlink/netlink_gen.c+15 -21 replyApplied
2/9netlink: specs: devlink: drop the stale port dump reply valueDocumentation/netlink/specs/devlink.yaml+0 -10 repliesApplied
3/9netlink: specs: devlink: describe DEVLINK_ATTR_NESTED_DEVLINKDocumentation/netlink/specs/devlink.yaml+19 -41 replyApplied
4/9netlink: specs: devlink: complete the port function nestDocumentation/netlink/specs/devlink.yaml net/devlink/netlink_gen.c net/devlink/netlink_gen.h+20 -20 repliesApplied
5/9devlink: generate the port function policy from the specDocumentation/netlink/specs/devlink.yaml net/devlink/netlink_gen.c net/devlink/netlink_gen.h +1 more+42 -300 repliesApplied
6/9netlink: specs: devlink: populate multi-attr attrs for region read and line cardDocumentation/netlink/specs/devlink.yaml+24 -40 repliesApplied
7/9netlink: specs: devlink: describe the netns id in the parent-dev nestDocumentation/netlink/specs/devlink.yaml+38 -31 replyApplied
8/9netlink: specs: devlink: add pad to the subsets carrying padded u64sDocumentation/netlink/specs/devlink.yaml+14 -00 repliesApplied
9/9devlink: validate the port index in the rate set requestDocumentation/netlink/specs/devlink.yaml net/devlink/netlink_gen.c+2 -00 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH net-next v2 0/9] devlink: netlink spec fixes

Number of spec fixes for the devlink family.

v2:
- [patch 1] reword commit msg
- [patch 6] also update the attr list in the spec for region get
- [patch 7] include port-index in the subset attr list
- [patch 9] new patch
v1: https://lore.kernel.org/[email protected]

Jakub Kicinski (9):
devlink: fix the enum behind DEVLINK_ATTR_RELOAD_LIMITS
netlink: specs: devlink: drop the stale port dump reply value
netlink: specs: devlink: describe DEVLINK_ATTR_NESTED_DEVLINK
netlink: specs: devlink: complete the port function nest
devlink: generate the port function policy from the spec
netlink: specs: devlink: populate multi-attr attrs for region read and
line card
netlink: specs: devlink: describe the netns id in the parent-dev nest
netlink: specs: devlink: add pad to the subsets carrying padded u64s
devlink: validate the port index in the rate set request

 Documentation/netlink/specs/devlink.yaml | 168 +++++++++++++++++++++--
 net/devlink/netlink_gen.h                |   2 +-
 net/devlink/netlink_gen.c                |   9 +-
 net/devlink/port.c                       |  19 +--
 4 files changed, 163 insertions(+), 35 deletions(-)
Signature · 1 line
2.55.0