5fbc75ace1
Add function for global shared MR cache structure initialization. This function include: - btree initialization. - set callbacks for reg and dereg MR. Signed-off-by: Michael Baum <michaelba@nvidia.com> Acked-by: Matan Azrad <matan@nvidia.com>
17 lines
501 B
C
17 lines
501 B
C
/* SPDX-License-Identifier: BSD-3-Clause
|
|
* Copyright 2020 Mellanox Technologies, Ltd
|
|
*/
|
|
|
|
#ifndef RTE_PMD_MLX5_VERBS_H_
|
|
#define RTE_PMD_MLX5_VERBS_H_
|
|
|
|
#include "mlx5.h"
|
|
|
|
int mlx5_txq_ibv_obj_new(struct rte_eth_dev *dev, uint16_t idx);
|
|
void mlx5_txq_ibv_obj_release(struct mlx5_txq_obj *txq_obj);
|
|
int mlx5_rxq_ibv_obj_dummy_lb_create(struct rte_eth_dev *dev);
|
|
void mlx5_rxq_ibv_obj_dummy_lb_release(struct rte_eth_dev *dev);
|
|
|
|
extern struct mlx5_obj_ops ibv_obj_ops;
|
|
#endif /* RTE_PMD_MLX5_VERBS_H_ */
|