num_comp_vectors 273 drivers/infiniband/core/cq.c if (dev->num_comp_vectors > 1) num_comp_vectors 276 drivers/infiniband/core/cq.c min_t(int, dev->num_comp_vectors, num_online_cpus()); num_comp_vectors 101 drivers/infiniband/core/uverbs.h u32 num_comp_vectors; num_comp_vectors 266 drivers/infiniband/core/uverbs_cmd.c resp.num_comp_vectors = file->device->num_comp_vectors; num_comp_vectors 995 drivers/infiniband/core/uverbs_cmd.c if (cmd->comp_vector >= attrs->ufile->device->num_comp_vectors) num_comp_vectors 1288 drivers/infiniband/core/uverbs_main.c uverbs_dev->num_comp_vectors = device->num_comp_vectors; num_comp_vectors 104 drivers/infiniband/core/uverbs_std_types_cq.c if (attr.comp_vector >= attrs->ufile->device->num_comp_vectors) { num_comp_vectors 664 drivers/infiniband/hw/bnxt_re/main.c ibdev->num_comp_vectors = 1; num_comp_vectors 1301 drivers/infiniband/hw/cxgb3/iwch_provider.c dev->ibdev.num_comp_vectors = 1; num_comp_vectors 574 drivers/infiniband/hw/cxgb4/provider.c dev->ibdev.num_comp_vectors = dev->rdev.lldi.nciq; num_comp_vectors 271 drivers/infiniband/hw/efa/efa_main.c dev->ibdev.num_comp_vectors = 1; num_comp_vectors 1901 drivers/infiniband/hw/hfi1/verbs.c dd->verbs_dev.rdi.ibdev.num_comp_vectors = dd->comp_vect_possible_cpus; num_comp_vectors 111 drivers/infiniband/hw/hns/hns_roce_cq.c if (vector >= hr_dev->caps.num_comp_vectors) { num_comp_vectors 830 drivers/infiniband/hw/hns/hns_roce_device.h int num_comp_vectors; num_comp_vectors 1536 drivers/infiniband/hw/hns/hns_roce_hw_v1.c caps->num_comp_vectors = HNS_ROCE_V1_COMP_VEC_NUM; num_comp_vectors 4092 drivers/infiniband/hw/hns/hns_roce_hw_v1.c for (i = 0; i < hr_dev->caps.num_comp_vectors; i++) { num_comp_vectors 4171 drivers/infiniband/hw/hns/hns_roce_hw_v1.c for (i = 0; i < hr_dev->caps.num_comp_vectors; i++) { num_comp_vectors 4315 drivers/infiniband/hw/hns/hns_roce_hw_v1.c eq_num = hr_dev->caps.num_comp_vectors + hr_dev->caps.num_aeq_vectors; num_comp_vectors 4336 drivers/infiniband/hw/hns/hns_roce_hw_v1.c if (i < hr_dev->caps.num_comp_vectors) { num_comp_vectors 4425 drivers/infiniband/hw/hns/hns_roce_hw_v1.c eq_num = hr_dev->caps.num_comp_vectors + hr_dev->caps.num_aeq_vectors; num_comp_vectors 1659 drivers/infiniband/hw/hns/hns_roce_hw_v2.c caps->num_comp_vectors = HNS_ROCE_V2_COMP_VEC_NUM; num_comp_vectors 5297 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (eqn < hr_dev->caps.num_comp_vectors) num_comp_vectors 5898 drivers/infiniband/hw/hns/hns_roce_hw_v2.c eq_num = hr_dev->caps.num_comp_vectors + hr_dev->caps.num_aeq_vectors; num_comp_vectors 5926 drivers/infiniband/hw/hns/hns_roce_hw_v2.c comp_num = hr_dev->caps.num_comp_vectors; num_comp_vectors 6008 drivers/infiniband/hw/hns/hns_roce_hw_v2.c eq_num = hr_dev->caps.num_comp_vectors + hr_dev->caps.num_aeq_vectors; num_comp_vectors 494 drivers/infiniband/hw/hns/hns_roce_main.c ib_dev->num_comp_vectors = hr_dev->caps.num_comp_vectors; num_comp_vectors 2725 drivers/infiniband/hw/i40iw/i40iw_verbs.c iwibdev->ibdev.num_comp_vectors = iwdev->ceqs_count; num_comp_vectors 246 drivers/infiniband/hw/mlx4/cq.c vector = dev->eq_table[vector % ibdev->num_comp_vectors]; num_comp_vectors 2438 drivers/infiniband/hw/mlx4/main.c ibdev->eq_table = kcalloc(dev->caps.num_comp_vectors, num_comp_vectors 2457 drivers/infiniband/hw/mlx4/main.c for (i = eq; i < dev->caps.num_comp_vectors; num_comp_vectors 2462 drivers/infiniband/hw/mlx4/main.c ibdev->ib_dev.num_comp_vectors = eq; num_comp_vectors 2468 drivers/infiniband/hw/mlx4/main.c int total_eqs = ibdev->ib_dev.num_comp_vectors; num_comp_vectors 2475 drivers/infiniband/hw/mlx4/main.c ibdev->ib_dev.num_comp_vectors = 0; num_comp_vectors 2670 drivers/infiniband/hw/mlx4/main.c ibdev->ib_dev.num_comp_vectors = dev->caps.num_comp_vectors; num_comp_vectors 6194 drivers/infiniband/hw/mlx5/main.c dev->ib_dev.num_comp_vectors = mlx5_comp_vectors_count(mdev); num_comp_vectors 1262 drivers/infiniband/hw/mthca/mthca_provider.c dev->ib_dev.num_comp_vectors = 1; num_comp_vectors 237 drivers/infiniband/hw/ocrdma/ocrdma_main.c dev->ibdev.num_comp_vectors = dev->eq_cnt; num_comp_vectors 280 drivers/infiniband/hw/qedr/main.c dev->ibdev.num_comp_vectors = dev->num_cnq; num_comp_vectors 400 drivers/infiniband/hw/usnic/usnic_ib_main.c us_ibdev->ib_dev.num_comp_vectors = USNIC_IB_NUM_COMP_VECTORS; num_comp_vectors 206 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c dev->ib_dev.num_comp_vectors = 1; num_comp_vectors 222 drivers/infiniband/sw/rdmavt/cq.c comp_vector = comp_vector % rdi->ibdev.num_comp_vectors; num_comp_vectors 638 drivers/infiniband/sw/rdmavt/vt.c if (!rdi->ibdev.num_comp_vectors) num_comp_vectors 639 drivers/infiniband/sw/rdmavt/vt.c rdi->ibdev.num_comp_vectors = 1; num_comp_vectors 1168 drivers/infiniband/sw/rxe/rxe_verbs.c dev->num_comp_vectors = num_possible_cpus(); num_comp_vectors 380 drivers/infiniband/sw/siw/siw_main.c base_dev->num_comp_vectors = num_possible_cpus(); num_comp_vectors 177 drivers/infiniband/ulp/ipoib/ipoib_verbs.c cq_attr.comp_vector = req_vec % priv->ca->num_comp_vectors; num_comp_vectors 186 drivers/infiniband/ulp/ipoib/ipoib_verbs.c cq_attr.comp_vector = (req_vec + 1) % priv->ca->num_comp_vectors; num_comp_vectors 78 drivers/infiniband/ulp/iser/iser_verbs.c ib_dev->num_comp_vectors); num_comp_vectors 89 drivers/infiniband/ulp/iser/iser_verbs.c ib_dev->num_comp_vectors, max_cqe); num_comp_vectors 253 drivers/infiniband/ulp/isert/ib_isert.c device->ib_device->num_comp_vectors)); num_comp_vectors 258 drivers/infiniband/ulp/isert/ib_isert.c device->ib_device->num_comp_vectors, num_comp_vectors 3904 drivers/infiniband/ulp/srp/ib_srp.c ibdev->num_comp_vectors), num_comp_vectors 3917 drivers/infiniband/ulp/srp/ib_srp.c const int cv_start = node_idx * ibdev->num_comp_vectors / num_comp_vectors 3919 drivers/infiniband/ulp/srp/ib_srp.c const int cv_end = (node_idx + 1) * ibdev->num_comp_vectors / num_comp_vectors 354 drivers/net/ethernet/mellanox/mlx4/cq.c if (vector >= dev->caps.num_comp_vectors) num_comp_vectors 66 drivers/net/ethernet/mellanox/mlx4/en_cq.c cq->vector = mdev->dev->caps.num_comp_vectors; num_comp_vectors 172 drivers/net/ethernet/mellanox/mlx4/en_cq.c cq->vector = mdev->dev->caps.num_comp_vectors; num_comp_vectors 857 drivers/net/ethernet/mellanox/mlx4/eq.c for (i = 0; i < dev->caps.num_comp_vectors + 1; ++i) num_comp_vectors 930 drivers/net/ethernet/mellanox/mlx4/eq.c return (dev->caps.num_comp_vectors + 1 + dev->caps.reserved_eqs) / 4 - num_comp_vectors 1124 drivers/net/ethernet/mellanox/mlx4/eq.c for (i = 0; i < dev->caps.num_comp_vectors + 1; ++i) num_comp_vectors 1215 drivers/net/ethernet/mellanox/mlx4/eq.c (dev->caps.num_comp_vectors + 1), num_comp_vectors 1222 drivers/net/ethernet/mellanox/mlx4/eq.c for (i = 0; i < dev->caps.num_comp_vectors + 1; ++i) { num_comp_vectors 1350 drivers/net/ethernet/mellanox/mlx4/eq.c for (i = 0; i < dev->caps.num_comp_vectors + 1; ++i) num_comp_vectors 1411 drivers/net/ethernet/mellanox/mlx4/eq.c if (vector < 0 || (vector >= dev->caps.num_comp_vectors + 1) || num_comp_vectors 1425 drivers/net/ethernet/mellanox/mlx4/eq.c for (i = 0; i < dev->caps.num_comp_vectors + 1; i++) num_comp_vectors 1438 drivers/net/ethernet/mellanox/mlx4/eq.c if (vector <= 0 || (vector >= dev->caps.num_comp_vectors + 1)) num_comp_vectors 1462 drivers/net/ethernet/mellanox/mlx4/eq.c if (requested_vector < (dev->caps.num_comp_vectors + 1) && num_comp_vectors 1476 drivers/net/ethernet/mellanox/mlx4/eq.c if (requested_vector < dev->caps.num_comp_vectors + 1 && num_comp_vectors 1485 drivers/net/ethernet/mellanox/mlx4/eq.c for (i = 0; min_ref_count_val && i < dev->caps.num_comp_vectors + 1; num_comp_vectors 2909 drivers/net/ethernet/mellanox/mlx4/main.c if (eqn > dev->caps.num_comp_vectors) num_comp_vectors 2962 drivers/net/ethernet/mellanox/mlx4/main.c dev->caps.num_comp_vectors = nreq - 1; num_comp_vectors 2968 drivers/net/ethernet/mellanox/mlx4/main.c for (i = 0; i < dev->caps.num_comp_vectors + 1; i++) { num_comp_vectors 2997 drivers/net/ethernet/mellanox/mlx4/main.c if ((dev->caps.num_comp_vectors > dev->caps.num_ports) && num_comp_vectors 2999 drivers/net/ethernet/mellanox/mlx4/main.c (dev->caps.num_comp_vectors / dev->caps.num_ports)) == num_comp_vectors 3014 drivers/net/ethernet/mellanox/mlx4/main.c dev->caps.num_comp_vectors = 1; num_comp_vectors 3596 drivers/net/ethernet/mellanox/mlx4/main.c dev->caps.num_comp_vectors = 1; num_comp_vectors 1828 drivers/net/ethernet/mellanox/mlx5/core/en_main.c int num_comp_vectors = mlx5_comp_vectors_count(c->mdev); num_comp_vectors 1834 drivers/net/ethernet/mellanox/mlx5/core/en_main.c for (irq = c->ix; irq < num_comp_vectors; irq += params->num_channels) { num_comp_vectors 657 drivers/nvme/host/rdma.c nr_read_queues = min_t(unsigned int, ibdev->num_comp_vectors, num_comp_vectors 659 drivers/nvme/host/rdma.c nr_default_queues = min_t(unsigned int, ibdev->num_comp_vectors, num_comp_vectors 985 drivers/nvme/target/rdma.c queue->idx % ndev->device->num_comp_vectors; num_comp_vectors 52 include/linux/mlx4/device.h #define MLX4_IS_LEGACY_EQ_MODE(dev_cap) ((dev_cap).num_comp_vectors < \ num_comp_vectors 574 include/linux/mlx4/device.h int num_comp_vectors; num_comp_vectors 2608 include/rdma/ib_verbs.h int num_comp_vectors; num_comp_vectors 4582 include/rdma/ib_verbs.h if (comp_vector < 0 || comp_vector >= device->num_comp_vectors || num_comp_vectors 166 include/uapi/rdma/ib_user_verbs.h __u32 num_comp_vectors; num_comp_vectors 170 net/rds/ib.c rds_ibdev->vector_load = kcalloc(device->num_comp_vectors, num_comp_vectors 422 net/rds/ib_cm.c int min = rds_ibdev->vector_load[rds_ibdev->dev->num_comp_vectors - 1]; num_comp_vectors 423 net/rds/ib_cm.c int index = rds_ibdev->dev->num_comp_vectors - 1; num_comp_vectors 426 net/rds/ib_cm.c for (i = rds_ibdev->dev->num_comp_vectors - 1; i >= 0; i--) {