Re: [RFC PATCH v2 09/22] devlink: convert snapshot destructor callback to region op

Jiri Pirko
2020-03-02T17:42:40Z

Sat, Feb 15, 2020 at 12:22:08AM CET, jacob.e.keller@intel.com wrote:
>It does not makes sense that two snapshots for a given region would use
>different destructors. Simplify snapshot creation by adding
>a .destructor op for regions.
>
>This operation will replace the data_destructor for the snapshot
>creation, and makes snapshot creation easier.
>
>Noticed-by: Jakub Kicinski <kuba@kernel.org>
>Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>

Reviewed-by: Jiri Pirko <jiri@mellanox.com>