18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (c) 2006 Intel Corporation. All rights reserved. 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci#ifndef RDMA_CM_IB_H 78c2ecf20Sopenharmony_ci#define RDMA_CM_IB_H 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#include <rdma/rdma_cm.h> 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci/** 128c2ecf20Sopenharmony_ci * rdma_set_ib_path - Manually sets the path record used to establish a 138c2ecf20Sopenharmony_ci * connection. 148c2ecf20Sopenharmony_ci * @id: Connection identifier associated with the request. 158c2ecf20Sopenharmony_ci * @path_rec: Reference to the path record 168c2ecf20Sopenharmony_ci * 178c2ecf20Sopenharmony_ci * This call permits a user to specify routing information for rdma_cm_id's 188c2ecf20Sopenharmony_ci * bound to InfiniBand devices. It is called on the client side of a 198c2ecf20Sopenharmony_ci * connection and replaces the call to rdma_resolve_route. 208c2ecf20Sopenharmony_ci */ 218c2ecf20Sopenharmony_ciint rdma_set_ib_path(struct rdma_cm_id *id, 228c2ecf20Sopenharmony_ci struct sa_path_rec *path_rec); 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ci/* Global qkey for UDP QPs and multicast groups. */ 258c2ecf20Sopenharmony_ci#define RDMA_UDP_QKEY 0x01234567 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ci#endif /* RDMA_CM_IB_H */ 28