Searched refs:num_comp_vectors (Results 1 – 21 of 21) sorted by relevance
747 for (i = 0; i < dev->caps.num_comp_vectors + 1; ++i) in mlx4_interrupt()822 return (dev->caps.num_comp_vectors + 1 + dev->caps.reserved_eqs + in mlx4_num_eq_uar()1021 for (i = 0; i < dev->caps.num_comp_vectors + 1; ++i) in mlx4_free_irqs()1034 vec = dev->caps.num_comp_vectors + 1 + i; in mlx4_free_irqs()1116 kmalloc(MLX4_IRQNAME_SIZE * (dev->caps.num_comp_vectors + 1 + in mlx4_init_eq_table()1124 for (i = 0; i < dev->caps.num_comp_vectors; ++i) { in mlx4_init_eq_table()1137 (dev->flags & MLX4_FLAG_MSI_X) ? dev->caps.num_comp_vectors : 0, in mlx4_init_eq_table()1138 &priv->eq_table.eq[dev->caps.num_comp_vectors]); in mlx4_init_eq_table()1143 for (i = dev->caps.num_comp_vectors + 1; in mlx4_init_eq_table()1144 i < dev->caps.num_comp_vectors + dev->caps.comp_pool + 1; ++i) { in mlx4_init_eq_table()[all …]
104 % mdev->dev->caps.num_comp_vectors; in mlx4_en_activate_cq()112 mdev->dev->caps.num_comp_vectors; in mlx4_en_activate_cq()
1714 priv->eq_table.eq[dev->caps.num_comp_vectors].irq); in mlx4_setup_hca()1719 priv->eq_table.eq[dev->caps.num_comp_vectors].irq); in mlx4_setup_hca()1884 dev->caps.num_comp_vectors = nreq - 1; in mlx4_enable_msi_x()1887 dev->caps.num_comp_vectors = MSIX_LEGACY_SZ - 1; in mlx4_enable_msi_x()1899 dev->caps.num_comp_vectors = 1; in mlx4_enable_msi_x()2281 dev->caps.num_comp_vectors = 1; in __mlx4_init_one()
272 dev->caps.num_comp_vectors, in mlx4_en_add()
255 if (vector > dev->caps.num_comp_vectors + dev->caps.comp_pool) in mlx4_cq_alloc()
1254 total_eqs = dev->caps.num_comp_vectors + added_eqs; in mlx4_ib_alloc_eqs()1273 (eq % dev->caps.num_comp_vectors); in mlx4_ib_alloc_eqs()1280 for (i = 0, eq = added_eqs; i < dev->caps.num_comp_vectors; i++) in mlx4_ib_alloc_eqs()1284 ibdev->ib_dev.num_comp_vectors = total_eqs; in mlx4_ib_alloc_eqs()1296 ibdev->ib_dev.num_comp_vectors = dev->caps.num_comp_vectors; in mlx4_ib_free_eqs()1301 if (ibdev->eq_table[i] <= dev->caps.num_comp_vectors) in mlx4_ib_free_eqs()1363 ibdev->ib_dev.num_comp_vectors = dev->caps.num_comp_vectors; in mlx4_ib_add()
229 vector = dev->eq_table[vector % ibdev->num_comp_vectors]; in mlx4_ib_create_cq()
73 int num_comp_vectors; member
795 uverbs_dev->num_comp_vectors = device->num_comp_vectors; in ib_uverbs_add_one()
335 resp.num_comp_vectors = file->device->num_comp_vectors; in ib_uverbs_get_context()1231 if (cmd.comp_vector >= file->device->num_comp_vectors) in ib_uverbs_create_cq()
77 device->cqs_used = min(ISER_MAX_CQ, device->ib_device->num_comp_vectors); in iser_create_device_ib_res()80 device->ib_device->num_comp_vectors); in iser_create_device_ib_res()
297 dev->ibdev.num_comp_vectors = 1; in ocrdma_register_device()
461 dev->ibdev.num_comp_vectors = 1; in c4iw_register_device()
805 dev->ibdev.num_comp_vectors = 1; in c2_register_device()
465 shca->ib_device.num_comp_vectors = 1; in ehca_init_device()
216 device->ib_device->num_comp_vectors); in isert_create_device_ib_res()220 device->ib_device->num_comp_vectors); in isert_create_device_ib_res()
1283 dev->ib_dev.num_comp_vectors = 1; in mthca_register_device()
1388 dev->ibdev.num_comp_vectors = 1; in iwch_register_device()
2138 dev->num_comp_vectors = 1; in ipath_register_ib_device()
2177 ibdev->num_comp_vectors = 1; in qib_register_ib_device()
3876 nesibdev->ibdev.num_comp_vectors = 1; in nes_init_ofa_device()