Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_cq.c354 cqn & (hr_dev->caps.num_cqs - 1)); in hns_roce_cq_completion()
375 cqn & (hr_dev->caps.num_cqs - 1)); in hns_roce_cq_event()
409 return hns_roce_bitmap_init(&cq_table->bitmap, hr_dev->caps.num_cqs, in hns_roce_init_cq_table()
410 hr_dev->caps.num_cqs - 1, in hns_roce_init_cq_table()
Dhns_roce_main.c202 props->max_cq = hr_dev->caps.num_cqs; in hns_roce_query_device()
632 hr_dev->caps.num_cqs, 1); in hns_roce_init_hem()
Dhns_roce_device.h781 int num_cqs; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
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()
Dmthca_profile.c190 dev->limits.num_cqs = profile[i].num; in mthca_make_profile()
Dmthca_dev.h154 int num_cqs; member
Dmthca_eq.c797 err = mthca_create_eq(dev, dev->limits.num_cqs + MTHCA_NUM_SPARE_EQE, in mthca_init_eq_table()
Dmthca_main.c478 mdev->limits.num_cqs, in mthca_init_icm()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
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 err = 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()
Dprofile.c210 dev->caps.num_cqs = profile[i].num; in mlx4_make_profile()
/kernel/linux/linux-5.10/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()
218 atomic_dec(&dev->num_cqs); in pvrdma_create_cq()
263 atomic_dec(&dev->num_cqs); in pvrdma_destroy_cq()
Dpvrdma.h242 atomic_t num_cqs; member
/kernel/linux/linux-5.10/drivers/scsi/bfa/
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()
Dbfi_ms.h36 u8 num_cqs; /* Number of CQs to be used */ member
Dbfa_defs_svc.h46 u8 num_cqs; member
/kernel/linux/linux-5.10/include/linux/qed/
Dqed_fcoe_if.h34 u8 num_cqs; member
Dqed_iscsi_if.h45 u8 num_cqs; member
Dqed_if.h493 u8 num_cqs; /* num of global CQs */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_fcoe.c119 if (fcoe_pf_params->num_cqs > p_hwfn->hw_info.feat_num[QED_FCOE_CQ]) { in qed_sp_fcoe_func_start()
122 fcoe_pf_params->num_cqs, in qed_sp_fcoe_func_start()
165 p_data->q_params.num_queues = fcoe_pf_params->num_cqs; in qed_sp_fcoe_func_start()
170 for (i = 0; i < fcoe_pf_params->num_cqs; i++) { in qed_sp_fcoe_func_start()
740 info->num_cqs = FEAT_NUM(hwfn, QED_FCOE_CQ); in qed_fill_fcoe_dev_info()
/kernel/linux/linux-5.10/drivers/scsi/qedi/
Dqedi.h55 #define MIN_NUM_CPUS_MSIX(x) min_t(u32, x->dev_info.num_cqs, \
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dpci.c962 u8 num_cqs; in mlxsw_pci_aqs_init() local
978 num_cqs = mlxsw_cmd_mbox_query_aq_cap_max_num_cqs_get(mbox); in mlxsw_pci_aqs_init()
984 if (num_sdqs + num_rdqs > num_cqs || in mlxsw_pci_aqs_init()
986 num_cqs > MLXSW_PCI_CQS_MAX || num_eqs != MLXSW_PCI_EQS_COUNT) { in mlxsw_pci_aqs_init()
1011 num_cqs); in mlxsw_pci_aqs_init()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dcnic.h297 int num_cqs; member
Dcnic.c1477 cp->num_cqs = req1->num_cqs; in cnic_bnx2x_iscsi_init1()
1807 for (i = 1, j = 1; i < cp->num_cqs; i++, j++) { in cnic_setup_bnx2x_ctx()
1830 ictx->ustorm_st_context.num_cqs = cp->num_cqs; in cnic_setup_bnx2x_ctx()
1854 ictx->cstorm_st_context.cq_proc_en_bit_map = (1 << cp->num_cqs) - 1; in cnic_setup_bnx2x_ctx()
1855 for (i = 0; i < cp->num_cqs; i++) { in cnic_setup_bnx2x_ctx()
/kernel/linux/linux-5.10/drivers/scsi/qedf/
Dqedf.h582 #define MIN_NUM_CPUS_MSIX(x) min_t(u32, x->dev_info.num_cqs, \
/kernel/linux/linux-5.10/drivers/scsi/bnx2i/
D57xx_iscsi_hsi.h555 u8 num_cqs; member
557 u8 num_cqs;

12