/linux-6.1.9/drivers/infiniband/core/ |
D | cq.c | 304 if (dev->num_comp_vectors > 1) in __ib_alloc_cq_any() 307 min_t(int, dev->num_comp_vectors, num_online_cpus()); in __ib_alloc_cq_any() 387 nr_cqs = min_t(unsigned int, dev->num_comp_vectors, num_online_cpus()); in ib_alloc_cqs() 433 unsigned int vector, num_comp_vectors; in ib_cq_pool_get() local 442 num_comp_vectors = in ib_cq_pool_get() 443 min_t(unsigned int, dev->num_comp_vectors, num_online_cpus()); in ib_cq_pool_get() 447 (READ_ONCE(default_comp_vector) + 1) % num_comp_vectors; in ib_cq_pool_get() 450 vector = comp_vector_hint % num_comp_vectors; in ib_cq_pool_get()
|
D | uverbs_std_types_cq.c | 107 if (attr.comp_vector >= attrs->ufile->device->num_comp_vectors) { in UVERBS_HANDLER()
|
D | uverbs_std_types_device.c | 214 u32 num_comp = attrs->ufile->device->num_comp_vectors; in UVERBS_HANDLER() 257 num_comp = attrs->ufile->device->num_comp_vectors; in UVERBS_HANDLER()
|
D | uverbs.h | 101 u32 num_comp_vectors; member
|
D | uverbs_main.c | 1134 uverbs_dev->num_comp_vectors = device->num_comp_vectors; in ib_uverbs_add_one()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/ |
D | eq.c | 857 for (i = 0; i < dev->caps.num_comp_vectors + 1; ++i) in mlx4_interrupt() 930 return (dev->caps.num_comp_vectors + 1 + dev->caps.reserved_eqs) / 4 - in mlx4_num_eq_uar() 1123 for (i = 0; i < dev->caps.num_comp_vectors + 1; ++i) in mlx4_free_irqs() 1212 (dev->caps.num_comp_vectors + 1), in mlx4_init_eq_table() 1219 for (i = 0; i < dev->caps.num_comp_vectors + 1; ++i) { in mlx4_init_eq_table() 1347 for (i = 0; i < dev->caps.num_comp_vectors + 1; ++i) in mlx4_cleanup_eq_table() 1408 if (vector < 0 || (vector >= dev->caps.num_comp_vectors + 1) || in mlx4_is_eq_vector_valid() 1422 for (i = 0; i < dev->caps.num_comp_vectors + 1; i++) in mlx4_get_eqs_per_port() 1435 if (vector <= 0 || (vector >= dev->caps.num_comp_vectors + 1)) in mlx4_is_eq_shared() 1459 if (requested_vector < (dev->caps.num_comp_vectors + 1) && in mlx4_assign_eq() [all …]
|
D | en_cq.c | 66 cq->vector = mdev->dev->caps.num_comp_vectors; in mlx4_en_create_cq() 169 cq->vector = mdev->dev->caps.num_comp_vectors; in mlx4_en_activate_cq()
|
D | cq.c | 355 if (vector >= dev->caps.num_comp_vectors) in mlx4_cq_alloc()
|
D | main.c | 2913 if (eqn > dev->caps.num_comp_vectors) in mlx4_init_affinity_hint() 2966 dev->caps.num_comp_vectors = nreq - 1; in mlx4_enable_msi_x() 2972 for (i = 0; i < dev->caps.num_comp_vectors + 1; i++) { in mlx4_enable_msi_x() 3001 if ((dev->caps.num_comp_vectors > dev->caps.num_ports) && in mlx4_enable_msi_x() 3003 (dev->caps.num_comp_vectors / dev->caps.num_ports)) == in mlx4_enable_msi_x() 3018 dev->caps.num_comp_vectors = 1; in mlx4_enable_msi_x() 3617 dev->caps.num_comp_vectors = 1; in mlx4_load_one()
|
/linux-6.1.9/drivers/infiniband/ulp/ipoib/ |
D | ipoib_verbs.c | 177 cq_attr.comp_vector = req_vec % priv->ca->num_comp_vectors; in ipoib_transport_dev_init() 186 cq_attr.comp_vector = (req_vec + 1) % priv->ca->num_comp_vectors; in ipoib_transport_dev_init()
|
/linux-6.1.9/drivers/infiniband/sw/rdmavt/ |
D | vt.c | 552 if (!rdi->ibdev.num_comp_vectors) in rvt_register_device() 553 rdi->ibdev.num_comp_vectors = 1; in rvt_register_device()
|
D | cq.c | 180 comp_vector = comp_vector % rdi->ibdev.num_comp_vectors; in rvt_create_cq()
|
/linux-6.1.9/drivers/infiniband/hw/hns/ |
D | hns_roce_cq.c | 290 if (attr->comp_vector >= hr_dev->caps.num_comp_vectors) { in verify_cq_create_attr() 292 attr->comp_vector, hr_dev->caps.num_comp_vectors); in verify_cq_create_attr()
|
D | hns_roce_main.c | 609 ib_dev->num_comp_vectors = hr_dev->caps.num_comp_vectors; in hns_roce_register_device()
|
/linux-6.1.9/net/rds/ |
D | ib_cm.c | 389 int min = rds_ibdev->vector_load[rds_ibdev->dev->num_comp_vectors - 1]; in ibdev_get_unused_vector() 390 int index = rds_ibdev->dev->num_comp_vectors - 1; in ibdev_get_unused_vector() 393 for (i = rds_ibdev->dev->num_comp_vectors - 1; i >= 0; i--) { in ibdev_get_unused_vector()
|
D | ib.c | 175 rds_ibdev->vector_load = kcalloc(device->num_comp_vectors, in rds_ib_add_one()
|
/linux-6.1.9/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_main.c | 200 dev->ibdev.num_comp_vectors = dev->eq_cnt; in ocrdma_register_device()
|
/linux-6.1.9/drivers/infiniband/hw/mlx4/ |
D | main.c | 2435 ibdev->eq_table = kcalloc(dev->caps.num_comp_vectors, in mlx4_ib_alloc_eqs() 2454 for (i = eq; i < dev->caps.num_comp_vectors; in mlx4_ib_alloc_eqs() 2459 ibdev->ib_dev.num_comp_vectors = eq; in mlx4_ib_alloc_eqs() 2465 int total_eqs = ibdev->ib_dev.num_comp_vectors; in mlx4_ib_free_eqs() 2472 ibdev->ib_dev.num_comp_vectors = 0; in mlx4_ib_free_eqs() 2669 ibdev->ib_dev.num_comp_vectors = dev->caps.num_comp_vectors; in mlx4_ib_add()
|
/linux-6.1.9/drivers/infiniband/sw/siw/ |
D | siw_main.c | 347 base_dev->num_comp_vectors = num_possible_cpus(); in siw_device_create()
|
/linux-6.1.9/drivers/infiniband/hw/erdma/ |
D | erdma_main.c | 496 ibdev->num_comp_vectors = dev->attrs.irq_num - 1; in erdma_ib_device_add()
|
/linux-6.1.9/drivers/infiniband/hw/cxgb4/ |
D | provider.c | 540 dev->ibdev.num_comp_vectors = dev->rdev.lldi.nciq; in c4iw_register_device()
|
/linux-6.1.9/drivers/infiniband/hw/usnic/ |
D | usnic_ib_main.c | 400 us_ibdev->ib_dev.num_comp_vectors = USNIC_IB_NUM_COMP_VECTORS; in usnic_ib_device_add()
|
/linux-6.1.9/include/linux/mlx4/ |
D | device.h | 51 #define MLX4_IS_LEGACY_EQ_MODE(dev_cap) ((dev_cap).num_comp_vectors < \ 573 int num_comp_vectors; member
|
/linux-6.1.9/drivers/infiniband/hw/efa/ |
D | efa_main.c | 430 dev->ibdev.num_comp_vectors = dev->neqs ?: 1; in efa_ib_device_add()
|
/linux-6.1.9/drivers/nvme/host/ |
D | rdma.c | 473 comp_vector = (idx == 0 ? idx : idx - 1) % ibdev->num_comp_vectors; in nvme_rdma_create_cq() 726 nr_read_queues = min_t(unsigned int, ibdev->num_comp_vectors, in nvme_rdma_alloc_io_queues() 728 nr_default_queues = min_t(unsigned int, ibdev->num_comp_vectors, in nvme_rdma_alloc_io_queues()
|