Searched refs:cm_id (Results 1 – 6 of 6) sorted by relevance
/titanic_41/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | rdma_transport.c | 57 rdsv3_rdma_cm_event_handler(struct rdma_cm_id *cm_id, in rdsv3_rdma_cm_event_handler() argument 61 struct rdsv3_connection *conn = cm_id->context; in rdsv3_rdma_cm_event_handler() 66 "conn %p id %p handling event %u", conn, cm_id, event->event); in rdsv3_rdma_cm_event_handler() 91 "disconnecting", conn, cm_id, event->event); in rdsv3_rdma_cm_event_handler() 98 ret = trans->cm_handle_connect(cm_id, event); in rdsv3_rdma_cm_event_handler() 103 ret = rdma_resolve_route(cm_id, in rdsv3_rdma_cm_event_handler() 109 ret = trans->cm_initiate_connect(cm_id); in rdsv3_rdma_cm_event_handler() 130 "cm_id: %p", cm_id); in rdsv3_rdma_cm_event_handler() 153 "id %p event %u handling ret %d", cm_id, event->event, ret); in rdsv3_rdma_cm_event_handler() 162 struct rdma_cm_id *cm_id; in rdsv3_rdma_listen_init() local [all …]
|
H A D | ib.c | 341 struct rdma_cm_id *cm_id; in rds_ib_laddr_check() local 350 cm_id = rdma_create_id(NULL, NULL, RDMA_PS_TCP); in rds_ib_laddr_check() 351 if (!cm_id) in rds_ib_laddr_check() 359 ret = rdma_bind_addr(cm_id, (struct sockaddr *)&sin); in rds_ib_laddr_check() 364 if (ret || cm_id->device->node_type != RDMA_NODE_IB_CA) in rds_ib_laddr_check() 370 cm_id->device ? cm_id->device->node_type : -1); in rds_ib_laddr_check() 372 rdma_destroy_id(cm_id); in rds_ib_laddr_check()
|
H A D | ib_cm.c | 701 rdsv3_ib_cm_handle_connect(struct rdma_cm_id *cm_id, in rdsv3_ib_cm_handle_connect() argument 704 uint64_be_t lguid = cm_id->route.path_rec->sgid.global.interface_id; in rdsv3_ib_cm_handle_connect() 705 uint64_be_t fguid = cm_id->route.path_rec->dgid.global.interface_id; in rdsv3_ib_cm_handle_connect() 717 "Enter cm_id: %p event: %p", cm_id, event); in rdsv3_ib_cm_handle_connect() 785 ASSERT(!cm_id->context); in rdsv3_ib_cm_handle_connect() 791 ic->i_cm_id = cm_id; in rdsv3_ib_cm_handle_connect() 792 cm_id->context = conn; in rdsv3_ib_cm_handle_connect() 814 err = rdma_accept(cm_id, &conn_param); in rdsv3_ib_cm_handle_connect() 824 "Return cm_id: %p event: %p", cm_id, event); in rdsv3_ib_cm_handle_connect() 829 (void) rdma_reject(cm_id, NULL, 0); in rdsv3_ib_cm_handle_connect() [all …]
|
/titanic_41/usr/src/uts/common/sys/ib/clients/rdsv3/ |
H A D | rdma_transport.h | 18 int rdsv3_rdma_cm_event_handler(struct rdma_cm_id *cm_id,
|
H A D | ib.h | 282 int rdsv3_ib_cm_handle_connect(struct rdma_cm_id *cm_id, 284 int rdsv3_ib_cm_initiate_connect(struct rdma_cm_id *cm_id);
|
H A D | rdsv3.h | 377 int (*cm_handle_connect)(struct rdma_cm_id *cm_id, 379 int (*cm_initiate_connect)(struct rdma_cm_id *cm_id);
|