ib_marshall.h 778 B

12345678910111213141516171819202122232425262728
  1. /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
  2. /*
  3. * Copyright (c) 2005-2006 Intel Corporation. All rights reserved.
  4. */
  5. #ifndef IB_USER_MARSHALL_H
  6. #define IB_USER_MARSHALL_H
  7. #include <rdma/ib_verbs.h>
  8. #include <rdma/ib_sa.h>
  9. #include <rdma/ib_user_verbs.h>
  10. #include <rdma/ib_user_sa.h>
  11. void ib_copy_qp_attr_to_user(struct ib_device *device,
  12. struct ib_uverbs_qp_attr *dst,
  13. struct ib_qp_attr *src);
  14. void ib_copy_ah_attr_to_user(struct ib_device *device,
  15. struct ib_uverbs_ah_attr *dst,
  16. struct rdma_ah_attr *src);
  17. void ib_copy_path_rec_to_user(struct ib_user_path_rec *dst,
  18. struct sa_path_rec *src);
  19. void ib_copy_path_rec_from_user(struct sa_path_rec *dst,
  20. struct ib_user_path_rec *src);
  21. #endif /* IB_USER_MARSHALL_H */