ynl: add ignore-index flag for indexed-array
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | netlink: specs: add ignore-index flag for indexed-arrayDocumentation/ Documentation/ Documentation/ +1 more | +21 | 0 replies | |
| 2/7 | tools: ynl: support ignore-index in indexed-array decodingtools/ | +7 | 0 replies | |
| 3/7 | tools: ynl: support ignore-index in indexed-array encodingtools/ | +5 | 0 replies | |
| 4/7 | netlink: specs: nl80211: set ignore-index on indexed-arraysDocumentation/ | +8 | 0 replies | |
| 5/7 | netlink: specs: nlctrl: set ignore-index on indexed-arraysDocumentation/ | +2 | 0 replies | |
| 6/7 | netlink: specs: rt-link: set ignore-index on indexed-arraysDocumentation/ | +2 | 0 replies | |
| 7/7 | netlink: specs: tc: set ignore-index on indexed-arraysDocumentation/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 0/7] ynl: add ignore-index flag for indexed-array
This patchset adds a way to mark if an indedex array is just an array, and the index is uninteresting, as previously discussed[1].
Which is the case in most of the indexed-arrays in the current specs.
As the name indexed-array kinda implies that the index is interesting, then I am using ignore-index to mark if the index is unused.
This adds some noise to YNL, and as it's only few indexed-arrays which actually use the index, then if we can come up with some good naming, it may be better to reverse it so it's the default behaviour.
[1]
https://lore.kernel.org/r/[email protected]/
Asbjørn Sloth Tønnesen (7):
netlink: specs: add ignore-index flag for indexed-array
tools: ynl: support ignore-index in indexed-array decoding
tools: ynl: support ignore-index in indexed-array encoding
netlink: specs: nl80211: set ignore-index on indexed-arrays
netlink: specs: nlctrl: set ignore-index on indexed-arrays
netlink: specs: rt-link: set ignore-index on indexed-arrays
netlink: specs: tc: set ignore-index on indexed-arrays
Documentation/netlink/genetlink-c.yaml | 6 ++++++ Documentation/netlink/genetlink-legacy.yaml | 6 ++++++ Documentation/netlink/netlink-raw.yaml | 6 ++++++ Documentation/netlink/specs/nl80211.yaml | 8 ++++++++ Documentation/netlink/specs/nlctrl.yaml | 2 ++ Documentation/netlink/specs/rt-link.yaml | 2 ++ Documentation/netlink/specs/tc.yaml | 1 + .../userspace-api/netlink/genetlink-legacy.rst | 3 +++ tools/net/ynl/pyynl/lib/ynl.py | 18 ++++++++++++------ 9 files changed, 46 insertions(+), 6 deletions(-)
Signature · 1 line
2.51.0