netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch net-next v2 0/3] tools: ynl: couple of cmdline enhancements
@ 2024-02-21 15:54 Jiri Pirko
  2024-02-21 15:54 ` [patch net-next v2 1/3] tools: ynl: allow user to specify flag attr with bool values Jiri Pirko
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Jiri Pirko @ 2024-02-21 15:54 UTC (permalink / raw)
  To: netdev
  Cc: kuba, pabeni, davem, edumazet, jacob.e.keller, swarupkotikalapudi,
	donald.hunter, sdf, lorenzo, alessandromarcolini99

From: Jiri Pirko <jiri@nvidia.com>

This is part of the original "netlink: specs: devlink: add the rest of
missing attribute definitions" set which was rejected [1]. These three
patches enhances the cmdline user comfort, allowing to pass flag
attribute with bool values and enum names instead of scalars.

[1] https://lore.kernel.org/all/20240220181004.639af931@kernel.org/

---
v1->v2:
- only first 3 patches left, the rest it cut out
- see changelog of individual patches

Jiri Pirko (3):
  tools: ynl: allow user to specify flag attr with bool values
  tools: ynl: process all scalar types encoding in single elif statement
  tools: ynl: allow user to pass enum string instead of scalar value

 tools/net/ynl/lib/ynl.py | 39 ++++++++++++++++++++++++++++++---------
 1 file changed, 30 insertions(+), 9 deletions(-)

-- 
2.43.2


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

end of thread, other threads:[~2024-02-22 13:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-21 15:54 [patch net-next v2 0/3] tools: ynl: couple of cmdline enhancements Jiri Pirko
2024-02-21 15:54 ` [patch net-next v2 1/3] tools: ynl: allow user to specify flag attr with bool values Jiri Pirko
2024-02-21 18:07   ` Donald Hunter
2024-02-22 13:17     ` Jiri Pirko
2024-02-21 15:54 ` [patch net-next v2 2/3] tools: ynl: process all scalar types encoding in single elif statement Jiri Pirko
2024-02-21 18:12   ` Donald Hunter
2024-02-21 15:54 ` [patch net-next v2 3/3] tools: ynl: allow user to pass enum string instead of scalar value Jiri Pirko
2024-02-21 18:14   ` Donald Hunter
2024-02-21 18:49   ` Jakub Kicinski
2024-02-22 13:14     ` Jiri Pirko
2024-02-21 22:29 ` [patch net-next v2 0/3] tools: ynl: couple of cmdline enhancements Keller, Jacob E

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