[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230308003923.445268-1-kuba@kernel.org>
Date: Tue, 7 Mar 2023 16:39:21 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org, edumazet@...gle.com, pabeni@...hat.com,
lorenzo@...nel.org, Jakub Kicinski <kuba@...nel.org>
Subject: [PATCH net 0/2] tools: ynl: fix enum-as-flags in the generic CLI
The CLI needs to use proper classes when looking at Enum definitions
rather than interpreting the YAML spec ad-hoc, because we have more
than on format of the definition supported.
Jakub Kicinski (2):
tools: ynl: move the enum classes to shared code
tools: ynl: fix enum-as-flags in the generic CLI
tools/net/ynl/lib/__init__.py | 7 ++-
tools/net/ynl/lib/nlspec.py | 99 +++++++++++++++++++++++++++++++
tools/net/ynl/lib/ynl.py | 9 +--
tools/net/ynl/ynl-gen-c.py | 107 +++++++---------------------------
4 files changed, 126 insertions(+), 96 deletions(-)
--
2.39.2
Powered by blists - more mailing lists