Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
0002 /*
0003  * Copyright (c) 2006 Intel Corporation.  All rights reserved.
0004  */
0005 
0006 #ifndef RDMA_CM_IB_H
0007 #define RDMA_CM_IB_H
0008 
0009 #include <rdma/rdma_cm.h>
0010 
0011 /**
0012  * rdma_set_ib_path - Manually sets the path record used to establish a
0013  *   connection.
0014  * @id: Connection identifier associated with the request.
0015  * @path_rec: Reference to the path record
0016  *
0017  * This call permits a user to specify routing information for rdma_cm_id's
0018  * bound to InfiniBand devices. It is called on the client side of a
0019  * connection and replaces the call to rdma_resolve_route.
0020  */
0021 int rdma_set_ib_path(struct rdma_cm_id *id,
0022              struct sa_path_rec *path_rec);
0023 
0024 /* Global qkey for UDP QPs and multicast groups. */
0025 #define RDMA_UDP_QKEY 0x01234567
0026 
0027 #endif /* RDMA_CM_IB_H */