Olivier Deprez | 157378f | 2022-04-04 15:47:50 +0200 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2006 Intel Corporation. All rights reserved. |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 4 | */ |
| 5 | |
Olivier Deprez | 157378f | 2022-04-04 15:47:50 +0200 | [diff] [blame^] | 6 | #ifndef RDMA_CM_IB_H |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 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 */ |