Home
last modified time | relevance | path

Searched refs:cq_attr (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/drivers/infiniband/ulp/ipoib/
Dipoib_verbs.c157 struct ib_cq_init_attr cq_attr = {}; in ipoib_transport_dev_init() local
176 cq_attr.cqe = size; in ipoib_transport_dev_init()
177 cq_attr.comp_vector = req_vec % priv->ca->num_comp_vectors; in ipoib_transport_dev_init()
179 priv, &cq_attr); in ipoib_transport_dev_init()
185 cq_attr.cqe = ipoib_sendq_size; in ipoib_transport_dev_init()
186 cq_attr.comp_vector = (req_vec + 1) % priv->ca->num_comp_vectors; in ipoib_transport_dev_init()
188 priv, &cq_attr); in ipoib_transport_dev_init()
/Linux-v4.19/drivers/net/ethernet/ibm/ehea/
Dehea_phyp.c311 struct ehea_cq_attr *cq_attr, in ehea_h_alloc_resource_cq() argument
321 cq_attr->eq_handle, /* R6 */ in ehea_h_alloc_resource_cq()
322 cq_attr->cq_token, /* R7 */ in ehea_h_alloc_resource_cq()
323 cq_attr->max_nr_of_cqes, /* R8 */ in ehea_h_alloc_resource_cq()
327 cq_attr->act_nr_of_cqes = outs[3]; in ehea_h_alloc_resource_cq()
328 cq_attr->nr_pages = outs[4]; in ehea_h_alloc_resource_cq()
Dehea_phyp.h377 struct ehea_cq_attr *cq_attr,
/Linux-v4.19/drivers/infiniband/core/
Dcq.c141 struct ib_cq_init_attr cq_attr = { in __ib_alloc_cq() local
148 cq = dev->create_cq(dev, &cq_attr, NULL, NULL); in __ib_alloc_cq()
Dverbs.c1876 const struct ib_cq_init_attr *cq_attr, in __ib_create_cq() argument
1881 cq = device->create_cq(device, cq_attr, NULL, NULL); in __ib_create_cq()
/Linux-v4.19/net/rds/
Dib_cm.c444 struct ib_cq_init_attr cq_attr = {}; in rds_ib_setup_qp() local
477 cq_attr.cqe = ic->i_send_ring.w_nr + fr_queue_space + 1; in rds_ib_setup_qp()
478 cq_attr.comp_vector = ic->i_scq_vector; in rds_ib_setup_qp()
481 &cq_attr); in rds_ib_setup_qp()
491 cq_attr.cqe = ic->i_recv_ring.w_nr; in rds_ib_setup_qp()
492 cq_attr.comp_vector = ic->i_rcq_vector; in rds_ib_setup_qp()
495 &cq_attr); in rds_ib_setup_qp()
/Linux-v4.19/include/rdma/
Dib_verbs.h3442 const struct ib_cq_init_attr *cq_attr,
3444 #define ib_create_cq(device, cmp_hndlr, evt_hndlr, cq_ctxt, cq_attr) \ argument
3445 __ib_create_cq((device), (cmp_hndlr), (evt_hndlr), (cq_ctxt), (cq_attr), KBUILD_MODNAME)
/Linux-v4.19/drivers/infiniband/hw/mlx4/
Dmad.c1973 struct ib_cq_init_attr cq_attr = {}; in create_pv_resources() local
2002 cq_attr.cqe = cq_size; in create_pv_resources()
2004 NULL, ctx, &cq_attr); in create_pv_resources()
Dmain.c1322 struct ib_cq_init_attr cq_attr = {}; in mlx4_ib_alloc_xrcd() local
1342 cq_attr.cqe = 1; in mlx4_ib_alloc_xrcd()
1343 xrcd->cq = ib_create_cq(ibdev, NULL, NULL, xrcd, &cq_attr); in mlx4_ib_alloc_xrcd()
/Linux-v4.19/drivers/infiniband/hw/mlx5/
Dmain.c4526 struct ib_cq_init_attr cq_attr = {.cqe = 1}; in create_dev_resources() local
4543 devr->c0 = mlx5_ib_create_cq(&dev->ib_dev, &cq_attr, NULL, NULL); in create_dev_resources()