Home
last modified time | relevance | path

Searched refs:cma_id (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/infiniband/ulp/iser/
Diser_verbs.c275 ret = rdma_create_qp(ib_conn->cma_id, device->pd, &init_attr); in iser_create_ib_conn_res()
279 ib_conn->qp = ib_conn->cma_id->qp; in iser_create_ib_conn_res()
281 ib_conn->cma_id, ib_conn->cma_id->qp, max_send_wr); in iser_create_ib_conn_res()
297 struct iser_device *iser_device_find_by_ib_device(struct rdma_cm_id *cma_id) in iser_device_find_by_ib_device() argument
305 if (device->ib_device->node_guid == cma_id->device->node_guid) in iser_device_find_by_ib_device()
313 device->ib_device = cma_id->device; in iser_device_find_by_ib_device()
378 iser_conn, ib_conn->cma_id, ib_conn->qp); in iser_free_ib_conn_res()
381 rdma_destroy_qp(ib_conn->cma_id); in iser_free_ib_conn_res()
424 if (ib_conn->cma_id) { in iser_conn_release()
425 rdma_destroy_id(ib_conn->cma_id); in iser_conn_release()
[all …]
Discsi_iser.c770 if (!iser_conn || !iser_conn->ib_conn.cma_id) in iscsi_iser_get_ep_param()
774 &iser_conn->ib_conn.cma_id->route.addr.dst_addr, in iscsi_iser_get_ep_param()
Discsi_iser.h368 struct rdma_cm_id *cma_id; member
/linux-6.12.1/drivers/infiniband/ulp/isert/
Dib_isert.c101 struct rdma_cm_id *cma_id) in isert_create_qp() argument
124 factor = rdma_rw_mr_factor(device->ib_device, cma_id->port_num, in isert_create_qp()
134 ret = rdma_create_qp(cma_id, device->pd, &attr); in isert_create_qp()
142 return cma_id->qp; in isert_create_qp()
262 isert_device_get(struct rdma_cm_id *cma_id) in isert_device_get() argument
269 if (device->ib_device->node_guid == cma_id->device->node_guid) { in isert_device_get()
286 device->ib_device = cma_id->device; in isert_device_get()
413 isert_connect_request(struct rdma_cm_id *cma_id, struct rdma_cm_event *event) in isert_connect_request() argument
415 struct isert_np *isert_np = cma_id->context; in isert_connect_request()
425 return rdma_reject(cma_id, NULL, 0, IB_CM_REJ_CONSUMER_DEFINED); in isert_connect_request()
[all …]
/linux-6.12.1/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c68 static int svc_rdma_listen_handler(struct rdma_cm_id *cma_id,
291 static int svc_rdma_listen_handler(struct rdma_cm_id *cma_id, in svc_rdma_listen_handler() argument
294 struct sockaddr *sap = (struct sockaddr *)&cma_id->route.addr.src_addr; in svc_rdma_listen_handler()
295 struct svcxprt_rdma *cma_xprt = cma_id->context; in svc_rdma_listen_handler()
301 handle_connect_req(cma_id, &event->param.conn); in svc_rdma_listen_handler()
308 cma_id->device->name); in svc_rdma_listen_handler()
327 static int svc_rdma_cma_handler(struct rdma_cm_id *cma_id, in svc_rdma_cma_handler() argument
330 struct svcxprt_rdma *rdma = cma_id->context; in svc_rdma_cma_handler()