diff options
author | 2025-04-29 08:47:03 -0700 | |
---|---|---|
committer | 2025-05-02 12:41:03 +0200 | |
commit | 18d574c8dd3e075afb546408fae7edd6a14c9873 (patch) | |
tree | f6d288e1ac818ec96adde1e8f17d8a172d5faa5e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tools: ynl-gen: array-nest: support binary array with exact-len (diff) | |
download | wireguard-linux-18d574c8dd3e075afb546408fae7edd6a14c9873.tar.xz wireguard-linux-18d574c8dd3e075afb546408fae7edd6a14c9873.zip |
tools: ynl-gen: don't init enum checks for classic netlink
rt-link has a vlan-protocols enum with:
name: 8021q value: 33024
name: 8021ad value: 34984
It's nice to have, since it converts the values to strings in Python.
For C, however, the codegen is trying to use enums to generate strict
policy checks. Parsing such sparse enums is not possible via policies.
Since for classic netlink we don't support kernel codegen and policy
generation - skip the auto-generation of checks from enums.
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Link: https://patch.msgid.link/20250429154704.2613851-12-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions