summaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/generated/devlink-user.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2023-10-21 13:27:04 +0200
committerJakub Kicinski <kuba@kernel.org>2023-10-23 16:12:46 -0700
commit2260d39cd01aff3b5791db25810e40fe03ae71bf (patch)
tree7017c9681e4618817b4ade2cd7ee5bec8b7e89a2 /tools/net/ynl/generated/devlink-user.c
parent4e2846fd6684227c8f8129ec184fbf090279216d (diff)
downloadlinux-2260d39cd01aff3b5791db25810e40fe03ae71bf.tar.gz
linux-2260d39cd01aff3b5791db25810e40fe03ae71bf.tar.bz2
linux-2260d39cd01aff3b5791db25810e40fe03ae71bf.zip
tools: ynl-gen: render rsp_parse() helpers if cmd has only dump op
Due to the check in RenderInfo class constructor, type_consistent flag is set to False to avoid rendering the same response parsing helper for do and dump ops. However, in case there is no do, the helper needs to be rendered for dump op. So split check to achieve that. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Link: https://lore.kernel.org/r/20231021112711.660606-4-jiri@resnulli.us Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/net/ynl/generated/devlink-user.c')
0 files changed, 0 insertions, 0 deletions