mirror of
https://github.com/torvalds/linux.git
synced 2026-04-19 15:24:02 -04:00
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>
This commit is contained in:
committed by
Jakub Kicinski
parent
8300dce542
commit
759f661012
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user