Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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,
/kernel/linux/linux-5.10/net/rds/
Dib_cm.c541 struct ib_cq_init_attr cq_attr = {}; in rds_ib_setup_qp() local
577 cq_attr.cqe = ic->i_send_ring.w_nr + fr_queue_space + 1; in rds_ib_setup_qp()
578 cq_attr.comp_vector = ic->i_scq_vector; in rds_ib_setup_qp()
581 &cq_attr); in rds_ib_setup_qp()
591 cq_attr.cqe = ic->i_recv_ring.w_nr; in rds_ib_setup_qp()
592 cq_attr.comp_vector = ic->i_rcq_vector; in rds_ib_setup_qp()
595 &cq_attr); in rds_ib_setup_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dmem.c298 struct ib_cq_init_attr cq_attr = { .cqe = TEST_WC_NUM_WQES + 1 }; in mlx5_ib_test_wc() local
336 cq = ib_create_cq(ibdev, NULL, NULL, NULL, &cq_attr); in mlx5_ib_test_wc()
Dmain.c3031 struct ib_cq_init_attr cq_attr = {.cqe = 1}; in mlx5_ib_dev_res_init() local
3063 ret = mlx5_ib_create_cq(devr->c0, &cq_attr, NULL); in mlx5_ib_dev_res_init()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dcq.c217 struct ib_cq_init_attr cq_attr = { in __ib_alloc_cq() local
241 ret = dev->ops.create_cq(cq, &cq_attr, NULL); in __ib_alloc_cq()
Dverbs.c1986 const struct ib_cq_init_attr *cq_attr, in __ib_create_cq() argument
2006 ret = device->ops.create_cq(cq, cq_attr, NULL); in __ib_create_cq()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dmad.c1981 struct ib_cq_init_attr cq_attr = {}; in create_pv_resources() local
2011 cq_attr.cqe = cq_size; in create_pv_resources()
2014 NULL, ctx, &cq_attr); in create_pv_resources()
Dmain.c1225 struct ib_cq_init_attr cq_attr = {}; in mlx4_ib_alloc_xrcd() local
1241 cq_attr.cqe = 1; in mlx4_ib_alloc_xrcd()
1242 xrcd->cq = ib_create_cq(ibxrcd->device, NULL, NULL, xrcd, &cq_attr); in mlx4_ib_alloc_xrcd()
/kernel/linux/linux-5.10/include/rdma/
Dib_verbs.h3832 const struct ib_cq_init_attr *cq_attr,
3834 #define ib_create_cq(device, cmp_hndlr, evt_hndlr, cq_ctxt, cq_attr) \ argument
3835 __ib_create_cq((device), (cmp_hndlr), (evt_hndlr), (cq_ctxt), (cq_attr), KBUILD_MODNAME)