Home
last modified time | relevance | path

Searched refs:max_cq (Results 1 – 25 of 38) sorted by relevance

12

/drivers/infiniband/hw/i40iw/
Di40iw_hw.c55 u32 max_cq; in i40iw_initialize_hw_resources() local
61 max_cq = iwdev->sc_dev.hmc_info->hmc_obj[I40IW_HMC_IW_CQ].cnt; in i40iw_initialize_hw_resources()
69 resources_size += sizeof(unsigned long) * BITS_TO_LONGS(max_cq); in i40iw_initialize_hw_resources()
80 iwdev->max_cq = max_cq; in i40iw_initialize_hw_resources()
91 iwdev->allocated_mrs = &iwdev->allocated_cqs[BITS_TO_LONGS(max_cq)]; in i40iw_initialize_hw_resources()
Di40iw.h297 u32 max_cq; member
Di40iw_verbs.c74 props->max_cq = iwdev->max_cq - iwdev->used_cqs; in i40iw_query_device()
1161 iwdev->max_cq, &cq_num, in i40iw_create_cq()
/drivers/infiniband/sw/rxe/
Drxe.c102 rxe->attr.max_cq = RXE_MAX_CQ; in rxe_init_device_param()
222 rxe->attr.max_cq); in rxe_init_pools()
/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_cq.c126 if (!atomic_add_unless(&dev->num_cqs, 1, dev->dsr->caps.max_cq)) in pvrdma_create_cq()
204 dev->cq_tbl[cq->cq_handle % dev->dsr->caps.max_cq] = cq; in pvrdma_create_cq()
Dpvrdma_verbs.c88 props->max_cq = dev->dsr->caps.max_cq; in pvrdma_query_device()
Dpvrdma_main.c245 dev->cq_tbl = kcalloc(dev->dsr->caps.max_cq, sizeof(void *), in pvrdma_register_device()
335 cq = dev->cq_tbl[cqn % dev->dsr->caps.max_cq]; in pvrdma_cq_event()
478 cq = dev->cq_tbl[cqne->info % dev->dsr->caps.max_cq]; in pvrdma_intrx_handler()
Dpvrdma_dev_api.h229 u32 max_cq; member
/drivers/infiniband/hw/bnxt_re/
Dqplib_sp.h57 u32 max_cq; member
Dqplib_sp.c112 attr->max_cq = le32_to_cpu(sb->max_cq); in bnxt_qplib_get_dev_attr()
/drivers/infiniband/hw/nes/
Dnes_hw.h1104 u32 max_cq; member
1283 u32 max_cq; member
Dnes.h94 #define NES_CCEQ_SIZE ((nesadapter->max_cq / nesadapter->port_count) - 32)
Dnes_hw.c259 u32 max_cq; in nes_init_adapter() local
338 max_cq = nes_read_indexed(nesdev, NES_IDX_CQ_CTX_SIZE); in nes_init_adapter()
347 adapter_size += sizeof(unsigned long) * BITS_TO_LONGS(max_cq); in nes_init_adapter()
401 nesadapter->max_cq = max_cq; in nes_init_adapter()
434 nesadapter->allocated_mrs = &nesadapter->allocated_cqs[BITS_TO_LONGS(max_cq)]; in nes_init_adapter()
Dnes_verbs.c440 props->max_cq = nesibdev->max_cq; in nes_query_device()
1455 nesadapter->max_cq, &cq_num, &nesadapter->next_cq, NES_RESOURCE_CQ); in nes_create_cq()
3865 nesibdev->max_cq = (nesadapter->max_cq-NES_FIRST_QPN) / nesadapter->port_count; in nes_register_ofa_device()
/drivers/infiniband/hw/qedr/
Dqedr.h94 u32 max_cq; member
Dmain.c576 attr->max_cq = qed_attr->max_cq; in qedr_set_device_attr()
/drivers/infiniband/hw/ocrdma/
Docrdma.h86 u16 max_cq; member
Docrdma_hw.c707 if (cqid < dev->attr.max_cq) in ocrdma_dispatch_ibevent()
1199 attr->max_cq = (rsp->max_cq_cqes_per_cq & in ocrdma_get_attr()
Docrdma_verbs.c130 attr->max_cq = dev->attr.max_cq; in ocrdma_query_device()
/drivers/infiniband/sw/rdmavt/
Dcq.c250 if (rdi->n_cqs_allocated == rdi->dparms.props.max_cq) { in rvt_create_cq()
/drivers/scsi/lpfc/
Dlpfc_sli4.h406 uint16_t max_cq; member
/drivers/infiniband/hw/cxgb4/
Dprovider.c349 props->max_cq = dev->rdev.lldi.vr->qp.size; in c4iw_query_device()
/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.c280 props->max_cq = us_ibdev->vf_res_cnt[USNIC_VNIC_RES_TYPE_CQ] * in usnic_ib_query_device()
/drivers/infiniband/hw/hns/
Dhns_roce_main.c205 props->max_cq = hr_dev->caps.num_cqs; in hns_roce_query_device()
/drivers/infiniband/hw/mthca/
Dmthca_provider.c101 props->max_cq = mdev->limits.num_cqs - mdev->limits.reserved_cqs; in mthca_query_device()

12