Lines Matching refs:verbs
79 struct ibv_context *verbs; member
245 struct ibv_context *verbs = NULL; in ucma_open_device() local
255 verbs = ibv_open_device(dev_list[i]); in ucma_open_device()
261 return verbs; in ucma_open_device()
270 if (cma_dev->verbs) in ucma_init_device()
273 cma_dev->verbs = ucma_open_device(cma_dev->guid); in ucma_init_device()
274 if (!cma_dev->verbs) in ucma_init_device()
277 ret = ibv_query_device(cma_dev->verbs, &attr); in ucma_init_device()
290 if (ibv_query_port(cma_dev->verbs, i, &port_attr)) in ucma_init_device()
304 ibv_close_device(cma_dev->verbs); in ucma_init_device()
305 cma_dev->verbs = NULL; in ucma_init_device()
345 devs[i] = cma_dev_array[i].verbs; in rdma_get_devices()
403 cma_dev->pd = ibv_alloc_pd(cma_dev->verbs); in ucma_get_device()
411 id_priv->id.verbs = cma_dev->verbs; in ucma_get_device()
439 cma_dev->xrcd = ibv_open_xrcd(cma_dev->verbs, &attr); in ucma_get_xrcd()
967 if (id->verbs->device->transport_type == IBV_TRANSPORT_IB) { in rdma_resolve_route()
1098 ret = ibv_query_pkey(cma_dev->verbs, port_num, i, &chk_pkey); in ucma_find_pkey()
1229 id->recv_cq_channel = ibv_create_comp_channel(id->verbs); in ucma_create_cqs()
1233 id->recv_cq = ibv_create_cq(id->verbs, recv_size, in ucma_create_cqs()
1240 id->send_cq_channel = ibv_create_comp_channel(id->verbs); in ucma_create_cqs()
1244 id->send_cq = ibv_create_cq(id->verbs, send_size, in ucma_create_cqs()
1286 srq = ibv_create_srq_ex(id->verbs, attr); in rdma_create_srq_ex()
1341 } else if (id->verbs != attr->pd->context) in rdma_create_qp_ex()
1368 qp = ibv_create_qp_ex(id->verbs, attr); in rdma_create_qp_ex()
1685 switch (id->verbs->device->transport_type) { in ucma_shutdown()
1890 evt->id_priv->id.verbs->device->transport_type == IBV_TRANSPORT_IB) in ucma_process_addr_resolved()
1902 if (evt->id_priv->id.verbs->device->transport_type != IBV_TRANSPORT_IB) in ucma_process_route_resolved()