blob: 8354e7de7815d77577b3136e28f670e504a2b1da [file] [log] [blame]
Olivier Deprez157378f2022-04-04 15:47:50 +02001/* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/*
3 * Copyright (c) 2006 Intel Corporation. All rights reserved.
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00004 */
5
Olivier Deprez157378f2022-04-04 15:47:50 +02006#ifndef RDMA_CM_IB_H
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00007#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 */
21int 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 */