Linux 6.12-rc7
[linux-stable.git] / include / rdma / ib_marshall.h
blob1838869aad28a7610b8626145190a764cd944b8e
1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
2 /*
3 * Copyright (c) 2005-2006 Intel Corporation. All rights reserved.
4 */
6 #ifndef IB_USER_MARSHALL_H
7 #define IB_USER_MARSHALL_H
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>
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);
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);
22 void ib_copy_path_rec_to_user(struct ib_user_path_rec *dst,
23 struct sa_path_rec *src);
25 void ib_copy_path_rec_from_user(struct sa_path_rec *dst,
26 struct ib_user_path_rec *src);
28 #endif /* IB_USER_MARSHALL_H */