linux/include/linux/mlx5/rsc_dump.h

/* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
/* Copyright (c) 2020 Mellanox Technologies inc. */

#include <linux/mlx5/driver.h>

#ifndef __MLX5_RSC_DUMP
#define __MLX5_RSC_DUMP

enum mlx5_sgmt_type {};

struct mlx5_rsc_key {};

struct mlx5_rsc_dump_cmd;

struct mlx5_rsc_dump_cmd *mlx5_rsc_dump_cmd_create(struct mlx5_core_dev *dev,
						   struct mlx5_rsc_key *key);
void mlx5_rsc_dump_cmd_destroy(struct mlx5_rsc_dump_cmd *cmd);
int mlx5_rsc_dump_next(struct mlx5_core_dev *dev, struct mlx5_rsc_dump_cmd *cmd,
		       struct page *page, int *size);
#endif /* __MLX5_RSC_DUMP */