2020-07-19 15:25:21 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
|
2006-06-18 11:37:27 +08:00
|
|
|
/*
|
2006-12-01 08:53:41 +08:00
|
|
|
* Copyright (c) 2005-2006 Intel Corporation. All rights reserved.
|
2006-06-18 11:37:27 +08:00
|
|
|
*/
|
|
|
|
|
2020-07-19 15:25:21 +08:00
|
|
|
#ifndef IB_USER_MARSHALL_H
|
2006-06-18 11:37:27 +08:00
|
|
|
#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>
|
|
|
|
|
2017-06-09 01:37:43 +08:00
|
|
|
void ib_copy_qp_attr_to_user(struct ib_device *device,
|
|
|
|
struct ib_uverbs_qp_attr *dst,
|
2006-06-18 11:37:27 +08:00
|
|
|
struct ib_qp_attr *src);
|
|
|
|
|
2017-06-09 01:37:43 +08:00
|
|
|
void ib_copy_ah_attr_to_user(struct ib_device *device,
|
|
|
|
struct ib_uverbs_ah_attr *dst,
|
2017-04-30 02:41:18 +08:00
|
|
|
struct rdma_ah_attr *src);
|
2006-12-01 08:53:41 +08:00
|
|
|
|
2006-06-18 11:37:27 +08:00
|
|
|
void ib_copy_path_rec_to_user(struct ib_user_path_rec *dst,
|
2017-04-28 07:05:58 +08:00
|
|
|
struct sa_path_rec *src);
|
2006-06-18 11:37:27 +08:00
|
|
|
|
2017-04-28 07:05:58 +08:00
|
|
|
void ib_copy_path_rec_from_user(struct sa_path_rec *dst,
|
2006-06-18 11:37:27 +08:00
|
|
|
struct ib_user_path_rec *src);
|
|
|
|
|
|
|
|
#endif /* IB_USER_MARSHALL_H */
|