Home
last modified time | relevance | path

Searched refs:new_cm_id (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/infiniband/ulp/srp/
Dib_srp.c311 struct ib_cm_id *new_cm_id; in srp_new_ib_cm_id() local
313 new_cm_id = ib_create_cm_id(target->srp_host->srp_dev->dev, in srp_new_ib_cm_id()
315 if (IS_ERR(new_cm_id)) in srp_new_ib_cm_id()
316 return PTR_ERR(new_cm_id); in srp_new_ib_cm_id()
320 ch->ib_cm.cm_id = new_cm_id; in srp_new_ib_cm_id()
337 struct rdma_cm_id *new_cm_id; in srp_new_rdma_cm_id() local
340 new_cm_id = rdma_create_id(target->net, srp_rdma_cm_handler, ch, in srp_new_rdma_cm_id()
342 if (IS_ERR(new_cm_id)) { in srp_new_rdma_cm_id()
343 ret = PTR_ERR(new_cm_id); in srp_new_rdma_cm_id()
344 new_cm_id = NULL; in srp_new_rdma_cm_id()
[all …]
/linux-6.1.9/fs/ksmbd/
Dtransport_rdma.c2030 static int smb_direct_handle_connect_request(struct rdma_cm_id *new_cm_id) in smb_direct_handle_connect_request() argument
2035 if (!rdma_frwr_is_supported(&new_cm_id->device->attrs)) { in smb_direct_handle_connect_request()
2038 new_cm_id->device->attrs.device_cap_flags); in smb_direct_handle_connect_request()
2042 t = alloc_transport(new_cm_id); in smb_direct_handle_connect_request()