[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240222134351.224704-1-jiri@resnulli.us>
Date: Thu, 22 Feb 2024 14:43:48 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: netdev@...r.kernel.org
Cc: kuba@...nel.org,
pabeni@...hat.com,
davem@...emloft.net,
edumazet@...gle.com,
jacob.e.keller@...el.com,
swarupkotikalapudi@...il.com,
donald.hunter@...il.com,
sdf@...gle.com,
lorenzo@...nel.org,
alessandromarcolini99@...il.com
Subject: [patch net-next v3 0/3] tools: ynl: couple of cmdline enhancements
From: Jiri Pirko <jiri@...dia.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/
---
v2->v3:
- see changelog of individual patches (1,3)
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 | 43 +++++++++++++++++++++++++++++++---------
1 file changed, 34 insertions(+), 9 deletions(-)
--
2.43.2
Powered by blists - more mailing lists