1*6bf9d8f6SLeon Romanovsky /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 26a9af2e1SSean Hefty /* 375216638SSean Hefty * Copyright (c) 2005-2006 Intel Corporation. All rights reserved. 46a9af2e1SSean Hefty */ 56a9af2e1SSean Hefty 6*6bf9d8f6SLeon Romanovsky #ifndef IB_USER_MARSHALL_H 76a9af2e1SSean Hefty #define IB_USER_MARSHALL_H 86a9af2e1SSean Hefty 96a9af2e1SSean Hefty #include <rdma/ib_verbs.h> 106a9af2e1SSean Hefty #include <rdma/ib_sa.h> 116a9af2e1SSean Hefty #include <rdma/ib_user_verbs.h> 126a9af2e1SSean Hefty #include <rdma/ib_user_sa.h> 136a9af2e1SSean Hefty 14d541e455SDasaratharaman Chandramouli void ib_copy_qp_attr_to_user(struct ib_device *device, 15d541e455SDasaratharaman Chandramouli struct ib_uverbs_qp_attr *dst, 166a9af2e1SSean Hefty struct ib_qp_attr *src); 176a9af2e1SSean Hefty 18d541e455SDasaratharaman Chandramouli void ib_copy_ah_attr_to_user(struct ib_device *device, 19d541e455SDasaratharaman Chandramouli struct ib_uverbs_ah_attr *dst, 2090898850SDasaratharaman Chandramouli struct rdma_ah_attr *src); 2175216638SSean Hefty 226a9af2e1SSean Hefty void ib_copy_path_rec_to_user(struct ib_user_path_rec *dst, 23c2f8fc4eSDasaratharaman Chandramouli struct sa_path_rec *src); 246a9af2e1SSean Hefty 25c2f8fc4eSDasaratharaman Chandramouli void ib_copy_path_rec_from_user(struct sa_path_rec *dst, 266a9af2e1SSean Hefty struct ib_user_path_rec *src); 276a9af2e1SSean Hefty 286a9af2e1SSean Hefty #endif /* IB_USER_MARSHALL_H */ 29