18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (c) 2005-2006 Intel Corporation. All rights reserved. 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci#ifndef IB_USER_MARSHALL_H 78c2ecf20Sopenharmony_ci#define IB_USER_MARSHALL_H 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#include <rdma/ib_verbs.h> 108c2ecf20Sopenharmony_ci#include <rdma/ib_sa.h> 118c2ecf20Sopenharmony_ci#include <rdma/ib_user_verbs.h> 128c2ecf20Sopenharmony_ci#include <rdma/ib_user_sa.h> 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_civoid ib_copy_qp_attr_to_user(struct ib_device *device, 158c2ecf20Sopenharmony_ci struct ib_uverbs_qp_attr *dst, 168c2ecf20Sopenharmony_ci struct ib_qp_attr *src); 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_civoid ib_copy_ah_attr_to_user(struct ib_device *device, 198c2ecf20Sopenharmony_ci struct ib_uverbs_ah_attr *dst, 208c2ecf20Sopenharmony_ci struct rdma_ah_attr *src); 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_civoid ib_copy_path_rec_to_user(struct ib_user_path_rec *dst, 238c2ecf20Sopenharmony_ci struct sa_path_rec *src); 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_civoid ib_copy_path_rec_from_user(struct sa_path_rec *dst, 268c2ecf20Sopenharmony_ci struct ib_user_path_rec *src); 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci#endif /* IB_USER_MARSHALL_H */ 29