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