linux/drivers/infiniband/hw/mlx5/restrack.h
Leon Romanovsky b572ebe667 RDMA/mlx5: Separate restrack callbacks initialization from main.c
The restrack code has separate .c, so move callbacks initialization to
that file to improve code locality.

Link: https://lore.kernel.org/r/20200702081809.423482-3-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2020-07-07 14:05:51 -03:00

14 lines
304 B
C

/* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
/*
* Copyright (c) 2013-2020, Mellanox Technologies Ltd. All rights reserved.
*/
#ifndef _MLX5_IB_RESTRACK_H
#define _MLX5_IB_RESTRACK_H
#include "mlx5_ib.h"
int mlx5_ib_restrack_init(struct mlx5_ib_dev *dev);
#endif /* _MLX5_IB_RESTRACK_H */