diff options
author | Jiri Pirko <jiri@nvidia.com> | 2023-08-11 17:57:06 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-08-14 11:47:24 -0700 |
commit | 24c8e56d4f983527cc5e1f6d771fef8ec7ce352e (patch) | |
tree | 257b68b74003d5f8e59e70d60988a553c318edd0 /rust/exports.c | |
parent | 8fa995ad1f7f8f615b479edcf540cc12fe7b87ba (diff) |
devlink: introduce dumpit callbacks for split ops
Introduce dumpit callbacks for generated split ops. Have them
as a thin wrapper around iteration function and allow to pass dump_one()
function pointer directly without need to store in devlink_cmd structs.
Note that the function prototypes are temporary until the generated ones
will replace them in a follow-up patch.
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/r/20230811155714.1736405-6-jiri@resnulli.us
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/exports.c')
0 files changed, 0 insertions, 0 deletions