rdma_transport.h 439 B

1234567891011121314151617181920
  1. #ifndef _RDMA_TRANSPORT_H
  2. #define _RDMA_TRANSPORT_H
  3. #include <rdma/ib_verbs.h>
  4. #include <rdma/rdma_cm.h>
  5. #include "rds.h"
  6. #define RDS_RDMA_RESOLVE_TIMEOUT_MS 5000
  7. int rds_rdma_conn_connect(struct rds_connection *conn);
  8. int rds_rdma_cm_event_handler(struct rdma_cm_id *cm_id,
  9. struct rdma_cm_event *event);
  10. /* from ib.c */
  11. extern struct rds_transport rds_ib_transport;
  12. int rds_ib_init(void);
  13. void rds_ib_exit(void);
  14. #endif