/* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */1/*2* Copyright (c) 2006 Intel Corporation. All rights reserved.3*/45#ifndef RDMA_CM_IB_H6#define RDMA_CM_IB_H78#include <rdma/rdma_cm.h>910/**11* rdma_set_ib_path - Manually sets the path record used to establish a12* connection.13* @id: Connection identifier associated with the request.14* @path_rec: Reference to the path record15*16* This call permits a user to specify routing information for rdma_cm_id's17* bound to InfiniBand devices. It is called on the client side of a18* connection and replaces the call to rdma_resolve_route.19*/20int rdma_set_ib_path(struct rdma_cm_id *id,21struct sa_path_rec *path_rec);2223/* Global qkey for UDP QPs and multicast groups. */24#define RDMA_UDP_QKEY 0x012345672526#endif /* RDMA_CM_IB_H */272829