devlink: sanitize variable typed attributes
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
- v2 Latest4 patches 2 repliesApplied 4/4
- v15 patches 6 repliesSuperseded
Patches in v2 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | tools: ynl-gen: allow noncontiguous enumstools/ | +52 | 2 replies | Applied |
| 2/4 | devlink: define enum for attr types of dynamic attributesDocumentation/ include/ net/ +2 more | +97 | 0 replies | Applied |
| 3/4 | devlink: avoid param type value translationsinclude/ net/ | +7 | 0 replies | Applied |
| 4/4 | devlink: use DEVLINK_VAR_ATTR_TYPE_* instead of NLA_* in fmsgnet/ | +21 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH net-next v2 0/4] devlink: sanitize variable typed attributes
From: Jiri Pirko <[email protected]>
This is continuation based on first two patches
of https://lore.kernel.org/netdev/[email protected]/
Better to take it as a separate patchset, as the rest of the original patchset is probably settled.
This patchset is taking care of incorrect usage of internal NLA_* values in uapi, introduces new enum (in patch #2) that shadows NLA_* values and makes that part of UAPI.
The last two patches removes unnecessary translations with maintaining clear devlink param driver api. I hope this might be acceptable.
Please check and merge to get this over with :)
Jiri Pirko (4):
tools: ynl-gen: allow noncontiguous enums
devlink: define enum for attr types of dynamic attributes
devlink: avoid param type value translations
devlink: use DEVLINK_VAR_ATTR_TYPE_* instead of NLA_* in fmsg
Documentation/netlink/specs/devlink.yaml | 24 ++++++++++ include/net/devlink.h | 10 ++-- include/uapi/linux/devlink.h | 15 ++++++ net/devlink/health.c | 52 +++++++++------------ net/devlink/netlink_gen.c | 29 +++++++++++- net/devlink/param.c | 46 +------------------ tools/net/ynl/pyynl/ynl_gen_c.py | 58 +++++++++++++++++++++--- 7 files changed, 147 insertions(+), 87 deletions(-)
Signature · 1 line
2.49.0