Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/drivers/net/ethernet/ibm/ehea/
Dehea_phyp.c297 struct ehea_cq_attr *cq_attr, in ehea_h_alloc_resource_cq() argument
307 cq_attr->eq_handle, /* R6 */ in ehea_h_alloc_resource_cq()
308 cq_attr->cq_token, /* R7 */ in ehea_h_alloc_resource_cq()
309 cq_attr->max_nr_of_cqes, /* R8 */ in ehea_h_alloc_resource_cq()
313 cq_attr->act_nr_of_cqes = outs[3]; in ehea_h_alloc_resource_cq()
314 cq_attr->nr_pages = outs[4]; in ehea_h_alloc_resource_cq()
Dehea_phyp.h363 struct ehea_cq_attr *cq_attr,
/linux-6.1.9/net/rds/
Dib_cm.c507 struct ib_cq_init_attr cq_attr = {}; in rds_ib_setup_qp() local
543 cq_attr.cqe = ic->i_send_ring.w_nr + fr_queue_space + 1; in rds_ib_setup_qp()
544 cq_attr.comp_vector = ic->i_scq_vector; in rds_ib_setup_qp()
547 &cq_attr); in rds_ib_setup_qp()
557 cq_attr.cqe = ic->i_recv_ring.w_nr; in rds_ib_setup_qp()
558 cq_attr.comp_vector = ic->i_rcq_vector; in rds_ib_setup_qp()
561 &cq_attr); in rds_ib_setup_qp()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dmem.c201 struct ib_cq_init_attr cq_attr = { .cqe = TEST_WC_NUM_WQES + 1 }; in mlx5_ib_test_wc() local
239 cq = ib_create_cq(ibdev, NULL, NULL, NULL, &cq_attr); in mlx5_ib_test_wc()
Dmain.c2789 struct ib_cq_init_attr cq_attr = {.cqe = 1}; in mlx5_ib_dev_res_init() local
2802 devr->c0 = ib_create_cq(ibdev, NULL, NULL, NULL, &cq_attr); in mlx5_ib_dev_res_init()
/linux-6.1.9/drivers/infiniband/core/
Dcq.c216 struct ib_cq_init_attr cq_attr = { in __ib_alloc_cq() local
240 ret = dev->ops.create_cq(cq, &cq_attr, NULL); in __ib_alloc_cq()
Dverbs.c2053 const struct ib_cq_init_attr *cq_attr, in __ib_create_cq() argument
2073 ret = device->ops.create_cq(cq, cq_attr, NULL); in __ib_create_cq()
/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dmad.c1984 struct ib_cq_init_attr cq_attr = {}; in create_pv_resources() local
2014 cq_attr.cqe = cq_size; in create_pv_resources()
2017 NULL, ctx, &cq_attr); in create_pv_resources()
Dmain.c1220 struct ib_cq_init_attr cq_attr = {}; in mlx4_ib_alloc_xrcd() local
1236 cq_attr.cqe = 1; in mlx4_ib_alloc_xrcd()
1237 xrcd->cq = ib_create_cq(ibxrcd->device, NULL, NULL, xrcd, &cq_attr); in mlx4_ib_alloc_xrcd()
/linux-6.1.9/include/rdma/
Dib_verbs.h3906 const struct ib_cq_init_attr *cq_attr,
3908 #define ib_create_cq(device, cmp_hndlr, evt_hndlr, cq_ctxt, cq_attr) \ argument
3909 __ib_create_cq((device), (cmp_hndlr), (evt_hndlr), (cq_ctxt), (cq_attr), KBUILD_MODNAME)