brintos

brintos / linux-shallow public Read only

0
0
Text · 778 B · 1838869 Raw
29 lines · c
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_H7#define IB_USER_MARSHALL_H8 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 14void ib_copy_qp_attr_to_user(struct ib_device *device,15			     struct ib_uverbs_qp_attr *dst,16			     struct ib_qp_attr *src);17 18void ib_copy_ah_attr_to_user(struct ib_device *device,19			     struct ib_uverbs_ah_attr *dst,20			     struct rdma_ah_attr *src);21 22void ib_copy_path_rec_to_user(struct ib_user_path_rec *dst,23			      struct sa_path_rec *src);24 25void 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