rdma_cm_ib.h 797 B

123456789101112131415161718192021222324252627
  1. /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
  2. /*
  3. * Copyright (c) 2006 Intel Corporation. All rights reserved.
  4. */
  5. #ifndef RDMA_CM_IB_H
  6. #define RDMA_CM_IB_H
  7. #include <rdma/rdma_cm.h>
  8. /**
  9. * rdma_set_ib_path - Manually sets the path record used to establish a
  10. * connection.
  11. * @id: Connection identifier associated with the request.
  12. * @path_rec: Reference to the path record
  13. *
  14. * This call permits a user to specify routing information for rdma_cm_id's
  15. * bound to InfiniBand devices. It is called on the client side of a
  16. * connection and replaces the call to rdma_resolve_route.
  17. */
  18. int rdma_set_ib_path(struct rdma_cm_id *id,
  19. struct sa_path_rec *path_rec);
  20. /* Global qkey for UDP QPs and multicast groups. */
  21. #define RDMA_UDP_QKEY 0x01234567
  22. #endif /* RDMA_CM_IB_H */