iPXE
|
Infiniband Communication-managed Reliable Connections. More...
Go to the source code of this file.
Functions | |
FILE_LICENCE (BSD2) | |
int | ib_cmrc_open (struct interface *xfer, struct ib_device *ibdev, union ib_gid *dgid, union ib_guid *service_id, const char *name) |
Open CMRC connection. More... | |
Infiniband Communication-managed Reliable Connections.
Definition in file ib_cmrc.h.
FILE_LICENCE | ( | BSD2 | ) |
int ib_cmrc_open | ( | struct interface * | xfer, |
struct ib_device * | ibdev, | ||
union ib_gid * | dgid, | ||
union ib_guid * | service_id, | ||
const char * | name | ||
) |
Open CMRC connection.
xfer | Data transfer interface |
ibdev | Infiniband device |
dgid | Destination GID |
service_id | Service ID |
name | Connection name |
rc | Returns status code |
Definition at line 397 of file ib_cmrc.c.
References ib_cmrc_connection::cq, DBGC, dgid, ib_cmrc_connection::dgid, ENOMEM, ib_close(), ib_cmrc_completion_ops, IB_CMRC_NUM_CQES, IB_CMRC_NUM_RECV_WQES, IB_CMRC_NUM_SEND_WQES, ib_cmrc_queue_pair_ops, ib_cmrc_shutdown_desc, ib_cmrc_xfer_desc, ib_create_cq(), ib_create_qp(), ib_destroy_cq(), ib_destroy_qp(), ib_open(), ib_qp_set_ownerdata(), IB_QPT_RC, ib_cmrc_connection::ibdev, intf_init(), intf_plug_plug(), memcpy(), ib_cmrc_connection::name, ib_device::name, name, NULL, process_init_stopped(), ib_cmrc_connection::qp, ib_queue_pair::qpn, rc, ref_init, ref_put, ib_cmrc_connection::refcnt, service_id, ib_cmrc_connection::service_id, ib_cmrc_connection::shutdown, strerror(), ib_cmrc_connection::xfer, and zalloc().
Referenced by ib_srp_open(), and xcm_reopen().