Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/infiniband/ulp/srp/
Dib_srp.c306 struct ib_cm_id *new_cm_id; in srp_new_ib_cm_id() local
308 new_cm_id = ib_create_cm_id(target->srp_host->srp_dev->dev, in srp_new_ib_cm_id()
310 if (IS_ERR(new_cm_id)) in srp_new_ib_cm_id()
311 return PTR_ERR(new_cm_id); in srp_new_ib_cm_id()
315 ch->ib_cm.cm_id = new_cm_id; in srp_new_ib_cm_id()
332 struct rdma_cm_id *new_cm_id; in srp_new_rdma_cm_id() local
335 new_cm_id = rdma_create_id(target->net, srp_rdma_cm_handler, ch, in srp_new_rdma_cm_id()
337 if (IS_ERR(new_cm_id)) { in srp_new_rdma_cm_id()
338 ret = PTR_ERR(new_cm_id); in srp_new_rdma_cm_id()
339 new_cm_id = NULL; in srp_new_rdma_cm_id()
[all …]
/linux-6.6.21/fs/smb/server/
Dtransport_rdma.c2039 static int smb_direct_handle_connect_request(struct rdma_cm_id *new_cm_id) in smb_direct_handle_connect_request() argument
2045 if (!rdma_frwr_is_supported(&new_cm_id->device->attrs)) { in smb_direct_handle_connect_request()
2048 new_cm_id->device->attrs.device_cap_flags); in smb_direct_handle_connect_request()
2052 t = alloc_transport(new_cm_id); in smb_direct_handle_connect_request()