netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/5] tools: ynl-gen: print setters for multi-val attrs
@ 2025-07-23 17:10 Jakub Kicinski
  2025-07-23 17:10 ` [PATCH net-next v2 1/5] tools: ynl-gen: don't add suffix for pure types Jakub Kicinski
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Jakub Kicinski @ 2025-07-23 17:10 UTC (permalink / raw)
  To: davem
  Cc: netdev, edumazet, pabeni, andrew+netdev, horms, donald.hunter,
	almasrymina, sdf, Jakub Kicinski

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/20250722161927.3489203-1-kuba@kernel.org

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(-)

-- 
2.50.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-07-25  0:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-23 17:10 [PATCH net-next v2 0/5] tools: ynl-gen: print setters for multi-val attrs Jakub Kicinski
2025-07-23 17:10 ` [PATCH net-next v2 1/5] tools: ynl-gen: don't add suffix for pure types Jakub Kicinski
2025-07-23 17:10 ` [PATCH net-next v2 2/5] tools: ynl-gen: move free printing to the print_type_full() helper Jakub Kicinski
2025-07-23 17:10 ` [PATCH net-next v2 3/5] tools: ynl-gen: print alloc helper for multi-val attrs Jakub Kicinski
2025-07-23 17:10 ` [PATCH net-next v2 4/5] tools: ynl-gen: print setters " Jakub Kicinski
2025-07-23 17:10 ` [PATCH net-next v2 5/5] selftests: drv-net: devmem: use new mattr ynl helpers Jakub Kicinski
2025-07-25  0:42 ` [PATCH net-next v2 0/5] tools: ynl-gen: print setters for multi-val attrs patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).