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