From ace9429bb58fd418f0c81d4c2835699bddf6bde6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 11 Apr 2024 10:27:49 +0200 Subject: Adding upstream version 6.6.15. Signed-off-by: Daniel Baumann --- include/rdma/rdma_cm_ib.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 include/rdma/rdma_cm_ib.h (limited to 'include/rdma/rdma_cm_ib.h') diff --git a/include/rdma/rdma_cm_ib.h b/include/rdma/rdma_cm_ib.h new file mode 100644 index 0000000000..8354e7de78 --- /dev/null +++ b/include/rdma/rdma_cm_ib.h @@ -0,0 +1,27 @@ +/* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ +/* + * Copyright (c) 2006 Intel Corporation. All rights reserved. + */ + +#ifndef RDMA_CM_IB_H +#define RDMA_CM_IB_H + +#include + +/** + * rdma_set_ib_path - Manually sets the path record used to establish a + * connection. + * @id: Connection identifier associated with the request. + * @path_rec: Reference to the path record + * + * This call permits a user to specify routing information for rdma_cm_id's + * bound to InfiniBand devices. It is called on the client side of a + * connection and replaces the call to rdma_resolve_route. + */ +int rdma_set_ib_path(struct rdma_cm_id *id, + struct sa_path_rec *path_rec); + +/* Global qkey for UDP QPs and multicast groups. */ +#define RDMA_UDP_QKEY 0x01234567 + +#endif /* RDMA_CM_IB_H */ -- cgit v1.2.3