tools: ynl-gen: generate flags better
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | tools: ynl-gen: bitshift the flag values in the generated codeinclude/ include/ include/ +3 more | +47 | 5 replies | |
| 2/6 | tools: ynl-gen: refactor render-max enum generationtools/ | +9 | 3 replies | |
| 3/6 | tools: ynl-gen: use uapi mask definition in NLA_POLICY_MASKtools/ | +8 | 3 replies | |
| 4/6 | tools: ynl-gen: add generic p_wrap() helpernet/ tools/ | +27 | 0 replies | |
| 5/6 | tools: ynl-gen: construct bitflag masks in generated headersinclude/ tools/ tools/ | +15 | 0 replies | |
| 6/6 | tools: ynl-gen: allow custom naming of render-max definitionsDocumentation/ Documentation/ Documentation/ +1 more | +15 | 0 replies |
Reviews trailers per patch
None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Jacob Keller |
|---|---|
| Series | R-b |
| 1/6 | |
| 2/6 | |
| 3/6 | |
| 4/6 | |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/6] tools: ynl-gen: generate flags better
This series focusses on increasing the quality of
the C code generated by ynl-gen for flags.
NB: I included a note in patch 6, on usage of the private NETDEV_XDP_ACT_MASK in user-space.
Asbjørn Sloth Tønnesen (6):
tools: ynl-gen: bitshift the flag values in the generated code
tools: ynl-gen: refactor render-max enum generation
tools: ynl-gen: use uapi mask definition in NLA_POLICY_MASK
tools: ynl-gen: add generic p_wrap() helper
tools: ynl-gen: construct bitflag masks in generated headers
tools: ynl-gen: allow custom naming of render-max definitions
Documentation/netlink/genetlink-c.yaml | 3 + Documentation/netlink/genetlink-legacy.yaml | 3 + .../userspace-api/netlink/c-code-gen.rst | 7 +- include/uapi/linux/dpll.h | 6 +- .../uapi/linux/ethtool_netlink_generated.h | 20 ++--- include/uapi/linux/netdev.h | 34 ++++---- net/psp/psp-nl-gen.h | 4 +- tools/include/uapi/linux/netdev.h | 34 ++++---- tools/net/ynl/pyynl/lib/nlspec.py | 7 +- tools/net/ynl/pyynl/ynl_gen_c.py | 79 +++++++++++-------- 10 files changed, 117 insertions(+), 80 deletions(-)
Signature · 1 line
2.51.0