162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (c) 2005-2006 Intel Corporation.  All rights reserved.
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci#ifndef IB_USER_MARSHALL_H
762306a36Sopenharmony_ci#define IB_USER_MARSHALL_H
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci#include <rdma/ib_verbs.h>
1062306a36Sopenharmony_ci#include <rdma/ib_sa.h>
1162306a36Sopenharmony_ci#include <rdma/ib_user_verbs.h>
1262306a36Sopenharmony_ci#include <rdma/ib_user_sa.h>
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_civoid ib_copy_qp_attr_to_user(struct ib_device *device,
1562306a36Sopenharmony_ci			     struct ib_uverbs_qp_attr *dst,
1662306a36Sopenharmony_ci			     struct ib_qp_attr *src);
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_civoid ib_copy_ah_attr_to_user(struct ib_device *device,
1962306a36Sopenharmony_ci			     struct ib_uverbs_ah_attr *dst,
2062306a36Sopenharmony_ci			     struct rdma_ah_attr *src);
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_civoid ib_copy_path_rec_to_user(struct ib_user_path_rec *dst,
2362306a36Sopenharmony_ci			      struct sa_path_rec *src);
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_civoid ib_copy_path_rec_from_user(struct sa_path_rec *dst,
2662306a36Sopenharmony_ci				struct ib_user_path_rec *src);
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ci#endif /* IB_USER_MARSHALL_H */
29