1 /**
2 * Copyright (C) Mellanox Technologies Ltd. 2019.  ALL RIGHTS RESERVED.
3 *
4 * See file LICENSE for terms.
5 */
6 
7 #ifndef UCT_IB_MLX5_EXP_H_
8 #define UCT_IB_MLX5_EXP_H_
9 
10 #ifdef HAVE_CONFIG_H
11 #  include "config.h"
12 #endif
13 
14 #if defined (HAVE_MLX5_HW) && defined (HAVE_VERBS_EXP_H)
15 void uct_ib_exp_qp_fill_attr(uct_ib_iface_t *iface, uct_ib_qp_attr_t *attr);
16 #else
uct_ib_exp_qp_fill_attr(uct_ib_iface_t * iface,uct_ib_qp_attr_t * attr)17 static inline void uct_ib_exp_qp_fill_attr(uct_ib_iface_t *iface, uct_ib_qp_attr_t *attr) { }
18 #endif
19 
20 #endif
21