xref: /openbmc/linux/include/rdma/ib_marshall.h (revision a9ca9f9c)
1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
2 /*
3  * Copyright (c) 2005-2006 Intel Corporation.  All rights reserved.
4  */
5 
6 #ifndef IB_USER_MARSHALL_H
7 #define IB_USER_MARSHALL_H
8 
9 #include <rdma/ib_verbs.h>
10 #include <rdma/ib_sa.h>
11 #include <rdma/ib_user_verbs.h>
12 #include <rdma/ib_user_sa.h>
13 
14 void ib_copy_qp_attr_to_user(struct ib_device *device,
15 			     struct ib_uverbs_qp_attr *dst,
16 			     struct ib_qp_attr *src);
17 
18 void ib_copy_ah_attr_to_user(struct ib_device *device,
19 			     struct ib_uverbs_ah_attr *dst,
20 			     struct rdma_ah_attr *src);
21 
22 void ib_copy_path_rec_to_user(struct ib_user_path_rec *dst,
23 			      struct sa_path_rec *src);
24 
25 void ib_copy_path_rec_from_user(struct sa_path_rec *dst,
26 				struct ib_user_path_rec *src);
27 
28 #endif /* IB_USER_MARSHALL_H */
29