tools: ynl-gen: print setters for multi-val attrs
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 Latest5 patches 0 repliesApplied 5/5
- v15 patches 7 repliesSuperseded
Changes in v2 from the cover letter
- rename a variable to args
v1: https://lore.kernel.org/[email protected]
Patches in v2 All 5 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | tools: ynl-gen: don't add suffix for pure typestools/ | +3 | 0 replies | Applied |
| 2/5 | tools: ynl-gen: move free printing to the print_type_full() helpertools/ | +4 | 0 replies | Applied |
| 3/5 | tools: ynl-gen: print alloc helper for multi-val attrstools/ | +16 | 0 replies | Applied |
| 4/5 | tools: ynl-gen: print setters for multi-val attrstools/ | +13 | 0 replies | Applied |
| 5/5 | selftests: drv-net: devmem: use new mattr ynl helperstools/ | +3 | 0 replies | Applied |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Donald Hunter | Stanislav Fomichev | Mina Almasry |
|---|---|---|---|
| 1/5 | R-b | A-b | |
| 2/5 | R-b | A-b | |
| 3/5 | R-b | A-b | |
| 4/5 | R-b | A-b | |
| 5/5 | R-b | A-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH net-next v2 0/5] tools: ynl-gen: print setters for multi-val attrs
ncdevmem seems to manually prepare the queue attributes. This is not ideal, YNL should be providing helpers for this. Make YNL output allocation and setter helpers for multi-val attrs.
v2:
- rename a variable to args
v1: https://lore.kernel.org/[email protected]
Jakub Kicinski (5):
tools: ynl-gen: don't add suffix for pure types
tools: ynl-gen: move free printing to the print_type_full() helper
tools: ynl-gen: print alloc helper for multi-val attrs
tools: ynl-gen: print setters for multi-val attrs
selftests: drv-net: devmem: use new mattr ynl helpers
.../selftests/drivers/net/hw/ncdevmem.c | 8 ++- tools/net/ynl/pyynl/ynl_gen_c.py | 49 ++++++++++++++----- 2 files changed, 39 insertions(+), 18 deletions(-)
Signature · 1 line
2.50.1