summaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/generated/devlink-user.h
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2023-08-03 13:13:37 +0200
committerJakub Kicinski <kuba@kernel.org>2023-08-04 23:03:01 +0200
commit759f661012d19e61e8d7e8d2bc8d4395ba45a689 (patch)
tree9264194034ccaeed5f8d7e5424072834700fa1f0 /tools/net/ynl/generated/devlink-user.h
parentdevlink: un-static devlink_nl_pre/post_doit() (diff)
downloadlinux-759f661012d19e61e8d7e8d2bc8d4395ba45a689.tar.xz
linux-759f661012d19e61e8d7e8d2bc8d4395ba45a689.zip
netlink: specs: devlink: add info-get dump op
Add missing dump op for info-get command and re-generate related devlink-user.[ch] code. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Reviewed-by: Jakub Kicinski <kuba@kernel.org> Link: https://lore.kernel.org/r/20230803111340.1074067-10-jiri@resnulli.us Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '')
-rw-r--r--tools/net/ynl/generated/devlink-user.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/net/ynl/generated/devlink-user.h b/tools/net/ynl/generated/devlink-user.h
index a008b99b6e24..af65e2f2f529 100644
--- a/tools/net/ynl/generated/devlink-user.h
+++ b/tools/net/ynl/generated/devlink-user.h
@@ -207,4 +207,14 @@ void devlink_info_get_rsp_free(struct devlink_info_get_rsp *rsp);
struct devlink_info_get_rsp *
devlink_info_get(struct ynl_sock *ys, struct devlink_info_get_req *req);
+/* DEVLINK_CMD_INFO_GET - dump */
+struct devlink_info_get_list {
+ struct devlink_info_get_list *next;
+ struct devlink_info_get_rsp obj __attribute__ ((aligned (8)));
+};
+
+void devlink_info_get_list_free(struct devlink_info_get_list *rsp);
+
+struct devlink_info_get_list *devlink_info_get_dump(struct ynl_sock *ys);
+
#endif /* _LINUX_DEVLINK_GEN_H */