Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
0002 /*
0003  * Copyright (c) 2005-2006 Intel Corporation.  All rights reserved.
0004  */
0005 
0006 #ifndef IB_USER_MARSHALL_H
0007 #define IB_USER_MARSHALL_H
0008 
0009 #include <rdma/ib_verbs.h>
0010 #include <rdma/ib_sa.h>
0011 #include <rdma/ib_user_verbs.h>
0012 #include <rdma/ib_user_sa.h>
0013 
0014 void ib_copy_qp_attr_to_user(struct ib_device *device,
0015                  struct ib_uverbs_qp_attr *dst,
0016                  struct ib_qp_attr *src);
0017 
0018 void ib_copy_ah_attr_to_user(struct ib_device *device,
0019                  struct ib_uverbs_ah_attr *dst,
0020                  struct rdma_ah_attr *src);
0021 
0022 void ib_copy_path_rec_to_user(struct ib_user_path_rec *dst,
0023                   struct sa_path_rec *src);
0024 
0025 void ib_copy_path_rec_from_user(struct sa_path_rec *dst,
0026                 struct ib_user_path_rec *src);
0027 
0028 #endif /* IB_USER_MARSHALL_H */