Home
last modified time | relevance | path

Searched refs:num_cqs (Results 1 – 25 of 43) sorted by relevance

12

/linux-6.3-rc2/drivers/scsi/elx/efct/
A Defct_hw_queues.c193 u32 num_cqs, u32 entry_count) in efct_hw_new_cq_set() argument
203 for (i = 0; i < num_cqs; i++) in efct_hw_new_cq_set()
206 for (i = 0; i < num_cqs; i++) { in efct_hw_new_cq_set()
222 if (sli_cq_alloc_set(sli4, qs, num_cqs, entry_count, assefct)) { in efct_hw_new_cq_set()
227 for (i = 0; i < num_cqs; i++) { in efct_hw_new_cq_set()
236 for (i = 0; i < num_cqs; i++) { in efct_hw_new_cq_set()
A Defct_hw.h741 u32 num_cqs, u32 entry_count);
/linux-6.3-rc2/drivers/infiniband/hw/mthca/
A Dmthca_cq.c221 cq = mthca_array_get(&dev->cq_table.cq, cqn & (dev->limits.num_cqs - 1)); in mthca_cq_completion()
241 cq = mthca_array_get(&dev->cq_table.cq, cqn & (dev->limits.num_cqs - 1)); in mthca_cq_event()
852 cq->cqn & (dev->limits.num_cqs - 1), cq); in mthca_init_cq()
929 cq->cqn & (dev->limits.num_cqs - 1)); in mthca_free_cq()
960 dev->limits.num_cqs, in mthca_init_cq_table()
967 dev->limits.num_cqs); in mthca_init_cq_table()
976 mthca_array_cleanup(&dev->cq_table.cq, dev->limits.num_cqs); in mthca_cleanup_cq_table()
A Dmthca_profile.c188 dev->limits.num_cqs = profile[i].num; in mthca_make_profile()
A Dmthca_dev.h154 int num_cqs; member
A Dmthca_eq.c798 err = mthca_create_eq(dev, dev->limits.num_cqs + MTHCA_NUM_SPARE_EQE, in mthca_init_eq_table()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx4/
A Dcq.c110 cqn & (dev->caps.num_cqs - 1)); in mlx4_cq_completion()
132 cq = radix_tree_lookup(&cq_table->tree, cqn & (dev->caps.num_cqs - 1)); in mlx4_cq_event()
472 return mlx4_bitmap_init(&cq_table->bitmap, dev->caps.num_cqs, in mlx4_init_cq_table()
473 dev->caps.num_cqs - 1, dev->caps.reserved_cqs, 0); in mlx4_init_cq_table()
A Dprofile.c210 dev->caps.num_cqs = profile[i].num; in mlx4_make_profile()
/linux-6.3-rc2/drivers/infiniband/hw/vmw_pvrdma/
A Dpvrdma_cq.c129 if (!atomic_add_unless(&dev->num_cqs, 1, dev->dsr->caps.max_cq)) in pvrdma_create_cq()
221 atomic_dec(&dev->num_cqs); in pvrdma_create_cq()
266 atomic_dec(&dev->num_cqs); in pvrdma_destroy_cq()
A Dpvrdma.h242 atomic_t num_cqs; member
/linux-6.3-rc2/drivers/scsi/bfa/
A Dbfa_core.c980 WARN_ON(cfg->fwcfg.num_cqs > BFI_IOC_MAX_CQS); in bfa_iocfc_send_cfg()
981 bfa_trc(bfa, cfg->fwcfg.num_cqs); in bfa_iocfc_send_cfg()
992 cfg_info->num_cqs = cfg->fwcfg.num_cqs; in bfa_iocfc_send_cfg()
1001 for (i = 0; i < cfg->fwcfg.num_cqs; i++) { in bfa_iocfc_send_cfg()
1109 for (i = 0; i < cfg->fwcfg.num_cqs; i++) { in bfa_iocfc_mem_claim()
1125 for (i = 0; i < cfg->fwcfg.num_cqs; i++) { in bfa_iocfc_mem_claim()
1285 fwcfg->num_cqs = fwcfg->num_cqs; in bfa_iocfc_cfgrsp()
1490 for (q = 0; q < cfg->fwcfg.num_cqs; q++) { in bfa_iocfc_meminfo()
1498 for (q = 0; q < cfg->fwcfg.num_cqs; q++) in bfa_iocfc_meminfo()
1979 cfg->fwcfg.num_cqs = DEF_CFG_NUM_CQS; in bfa_cfg_get_default()
A Dbfi_ms.h36 u8 num_cqs; /* Number of CQs to be used */ member
/linux-6.3-rc2/include/linux/qed/
A Dqed_fcoe_if.h34 u8 num_cqs; member
A Dqed_nvmetcp_if.h22 u8 num_cqs; member
A Dqed_iscsi_if.h45 u8 num_cqs; member
/linux-6.3-rc2/drivers/infiniband/hw/hns/
A Dhns_roce_cq.c455 cqn & (hr_dev->caps.num_cqs - 1)); in hns_roce_cq_completion()
476 cqn & (hr_dev->caps.num_cqs - 1)); in hns_roce_cq_event()
522 cq_table->bank[i].max = hr_dev->caps.num_cqs / in hns_roce_init_cq_table()
A Dhns_roce_main.c185 props->max_cq = hr_dev->caps.num_cqs; in hns_roce_query_device()
729 hr_dev->caps.num_cqs); in hns_roce_init_hem()
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qed/
A Dqed_fcoe.c120 if (fcoe_pf_params->num_cqs > p_hwfn->hw_info.feat_num[QED_FCOE_CQ]) { in qed_sp_fcoe_func_start()
123 fcoe_pf_params->num_cqs, in qed_sp_fcoe_func_start()
166 p_data->q_params.num_queues = fcoe_pf_params->num_cqs; in qed_sp_fcoe_func_start()
171 for (i = 0; i < fcoe_pf_params->num_cqs; i++) { in qed_sp_fcoe_func_start()
739 info->num_cqs = FEAT_NUM(hwfn, QED_FCOE_CQ); in qed_fill_fcoe_dev_info()
/linux-6.3-rc2/drivers/scsi/qedi/
A Dqedi.h55 #define MIN_NUM_CPUS_MSIX(x) min_t(u32, x->dev_info.num_cqs, \
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A Dpci.c1043 u8 num_cqs; in mlxsw_pci_aqs_init() local
1059 num_cqs = mlxsw_cmd_mbox_query_aq_cap_max_num_cqs_get(mbox); in mlxsw_pci_aqs_init()
1065 if (num_sdqs + num_rdqs > num_cqs || in mlxsw_pci_aqs_init()
1067 num_cqs > MLXSW_PCI_CQS_MAX || num_eqs != MLXSW_PCI_EQS_COUNT) { in mlxsw_pci_aqs_init()
1092 num_cqs); in mlxsw_pci_aqs_init()
/linux-6.3-rc2/drivers/net/ethernet/broadcom/
A Dcnic.h297 int num_cqs; member
A Dcnic.c1475 cp->num_cqs = req1->num_cqs; in cnic_bnx2x_iscsi_init1()
1805 for (i = 1, j = 1; i < cp->num_cqs; i++, j++) { in cnic_setup_bnx2x_ctx()
1828 ictx->ustorm_st_context.num_cqs = cp->num_cqs; in cnic_setup_bnx2x_ctx()
1852 ictx->cstorm_st_context.cq_proc_en_bit_map = (1 << cp->num_cqs) - 1; in cnic_setup_bnx2x_ctx()
1853 for (i = 0; i < cp->num_cqs; i++) { in cnic_setup_bnx2x_ctx()
/linux-6.3-rc2/drivers/scsi/elx/libefc_sli/
A Dsli4.c817 struct sli4_queue *qs[], u32 num_cqs, in sli_cmd_cq_set_create() argument
847 (SZ_DMAADDR * num_pages_cq * num_cqs), in sli_cmd_cq_set_create()
863 SZ_DMAADDR * num_pages_cq * num_cqs); in sli_cmd_cq_set_create()
898 req->num_cq_req = cpu_to_le16(num_cqs); in sli_cmd_cq_set_create()
901 for (i = 0; i < num_cqs; i++) { in sli_cmd_cq_set_create()
918 u32 num_cqs, u32 n_entries, struct sli4_queue *eqs[]) in sli_cq_alloc_set() argument
926 for (i = 0; i < num_cqs; i++) { in sli_cq_alloc_set()
932 if (sli_cmd_cq_set_create(sli4, qs, num_cqs, eqs, &dma)) in sli_cq_alloc_set()
951 if (le16_to_cpu(res->num_q_allocated) != num_cqs) { in sli_cq_alloc_set()
956 for (i = 0; i < num_cqs; i++) { in sli_cq_alloc_set()
[all …]
/linux-6.3-rc2/drivers/scsi/qedf/
A Dqedf.h588 #define MIN_NUM_CPUS_MSIX(x) min_t(u32, x->dev_info.num_cqs, \
/linux-6.3-rc2/drivers/scsi/bnx2i/
A D57xx_iscsi_hsi.h555 u8 num_cqs; member
557 u8 num_cqs;

Completed in 122 milliseconds

12