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