mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 01:34:14 +08:00
6bf9d8f6f0
The header files in RDMA subsystem are dual licensed and can be described by simple SPDX tag, so replace all of them at once together with making them use the same coding style for header guard defines. Link: https://lore.kernel.org/r/20200719072521.135260-1-leon@kernel.org Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
28 lines
797 B
C
28 lines
797 B
C
/* 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/rdma_cm.h>
|
|
|
|
/**
|
|
* 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 */
|