mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-25 20:14:25 +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>
29 lines
778 B
C
29 lines
778 B
C
/* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
|
|
/*
|
|
* Copyright (c) 2005-2006 Intel Corporation. All rights reserved.
|
|
*/
|
|
|
|
#ifndef IB_USER_MARSHALL_H
|
|
#define IB_USER_MARSHALL_H
|
|
|
|
#include <rdma/ib_verbs.h>
|
|
#include <rdma/ib_sa.h>
|
|
#include <rdma/ib_user_verbs.h>
|
|
#include <rdma/ib_user_sa.h>
|
|
|
|
void ib_copy_qp_attr_to_user(struct ib_device *device,
|
|
struct ib_uverbs_qp_attr *dst,
|
|
struct ib_qp_attr *src);
|
|
|
|
void ib_copy_ah_attr_to_user(struct ib_device *device,
|
|
struct ib_uverbs_ah_attr *dst,
|
|
struct rdma_ah_attr *src);
|
|
|
|
void ib_copy_path_rec_to_user(struct ib_user_path_rec *dst,
|
|
struct sa_path_rec *src);
|
|
|
|
void ib_copy_path_rec_from_user(struct sa_path_rec *dst,
|
|
struct ib_user_path_rec *src);
|
|
|
|
#endif /* IB_USER_MARSHALL_H */
|