iPXE
|
Infiniband communication management. More...
Go to the source code of this file.
Data Structures | |
struct | ib_connection_operations |
Infiniband connection operations. More... | |
struct | ib_connection |
An Infiniband connection. More... | |
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
struct ib_connection * | ib_create_conn (struct ib_device *ibdev, struct ib_queue_pair *qp, union ib_gid *dgid, union ib_guid *service_id, void *req_private_data, size_t req_private_data_len, struct ib_connection_operations *op) |
Create connection to remote QP. More... | |
void | ib_destroy_conn (struct ib_device *ibdev, struct ib_queue_pair *qp, struct ib_connection *conn) |
Infiniband communication management.
Definition in file ib_cm.h.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
struct ib_connection* ib_create_conn | ( | struct ib_device * | ibdev, |
struct ib_queue_pair * | qp, | ||
union ib_gid * | dgid, | ||
union ib_guid * | service_id, | ||
void * | private_data, | ||
size_t | private_data_len, | ||
struct ib_connection_operations * | op | ||
) |
Create connection to remote QP.
ibdev | Infiniband device |
qp | Queue pair |
dgid | Target GID |
service_id | Target service ID |
private_data | Connection request private data |
private_data_len | Length of connection request private data |
op | Connection operations |
conn | Connection |
Definition at line 451 of file ib_cm.c.
References DBGC, dgid, free, ib_cm_path_op, ib_create_path(), ib_destroy_path(), IB_GID_ARGS, IB_GID_FMT, IB_GUID_ARGS, IB_GUID_FMT, ib_path_set_ownerdata(), ib_connection::ibdev, ib_connection::list, list_add, local_id, ib_connection::local_id, memcpy(), memset(), ib_device::name, NULL, ib_connection::op, op, ib_connection::path, private_data, ib_connection::private_data, ib_connection::private_data_len, qp, ib_connection::qp, random(), service_id, ib_connection::service_id, and zalloc().
Referenced by ib_cmrc_xfer_deliver().
void ib_destroy_conn | ( | struct ib_device * | ibdev, |
struct ib_queue_pair * | qp, | ||
struct ib_connection * | conn | ||
) |