xref: /openbmc/linux/include/rdma/rdma_cm_ib.h (revision 2a598d0b)
1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
2 /*
3  * Copyright (c) 2006 Intel Corporation.  All rights reserved.
4  */
5 
6 #ifndef RDMA_CM_IB_H
7 #define RDMA_CM_IB_H
8 
9 #include <rdma/rdma_cm.h>
10 
11 /**
12  * rdma_set_ib_path - Manually sets the path record used to establish a
13  *   connection.
14  * @id: Connection identifier associated with the request.
15  * @path_rec: Reference to the path record
16  *
17  * This call permits a user to specify routing information for rdma_cm_id's
18  * bound to InfiniBand devices. It is called on the client side of a
19  * connection and replaces the call to rdma_resolve_route.
20  */
21 int rdma_set_ib_path(struct rdma_cm_id *id,
22 		     struct sa_path_rec *path_rec);
23 
24 /* Global qkey for UDP QPs and multicast groups. */
25 #define RDMA_UDP_QKEY 0x01234567
26 
27 #endif /* RDMA_CM_IB_H */
28