Home
last modified time | relevance | path

Searched refs:vecidx (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Deq.c274 u16 vecidx; in create_map_eq() local
297 vecidx = mlx5_irq_get_index(eq->irq); in create_map_eq()
322 MLX5_SET(eqc, eqc, intr, vecidx); in create_map_eq()
330 eq->vecidx = vecidx; in create_map_eq()
332 eq->irqn = pci_irq_vector(dev->pdev, vecidx); in create_map_eq()
825 static void comp_irq_release_pci(struct mlx5_core_dev *dev, u16 vecidx) in comp_irq_release_pci() argument
830 irq = xa_load(&table->comp_irqs, vecidx); in comp_irq_release_pci()
834 xa_erase(&table->comp_irqs, vecidx); in comp_irq_release_pci()
856 static int comp_irq_request_pci(struct mlx5_core_dev *dev, u16 vecidx) in comp_irq_request_pci() argument
864 cpu = mlx5_cpumask_default_spread(dev, vecidx); in comp_irq_request_pci()
[all …]
Dmlx5_irq.h29 struct mlx5_irq *mlx5_irq_request(struct mlx5_core_dev *dev, u16 vecidx,
33 u16 vecidx, struct cpu_rmap **rmap);
44 struct cpumask *used_cpus, u16 vecidx);
52 struct cpumask *used_cpus, u16 vecidx) in mlx5_irq_affinity_irq_request_auto() argument
Dpci_irq.c233 static void irq_sf_set_name(struct mlx5_irq_pool *pool, char *name, int vecidx) in irq_sf_set_name() argument
235 snprintf(name, MLX5_MAX_IRQ_NAME, "%s%d", pool->name, vecidx); in irq_sf_set_name()
238 static void irq_set_name(struct mlx5_irq_pool *pool, char *name, int vecidx) in irq_set_name() argument
242 snprintf(name, MLX5_MAX_IRQ_NAME, "mlx5_combined%d", vecidx); in irq_set_name()
246 if (!vecidx) { in irq_set_name()
247 snprintf(name, MLX5_MAX_IRQ_NAME, "mlx5_async%d", vecidx); in irq_set_name()
251 vecidx -= MLX5_IRQ_VEC_COMP_BASE; in irq_set_name()
252 snprintf(name, MLX5_MAX_IRQ_NAME, "mlx5_comp%d", vecidx); in irq_set_name()
385 irq_pool_request_vector(struct mlx5_irq_pool *pool, int vecidx, in irq_pool_request_vector() argument
392 irq = xa_load(&pool->irqs, vecidx); in irq_pool_request_vector()
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lib/
Deq.h31 unsigned int vecidx; member
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dhealth.c57 devlink_fmsg_u32_pair_put(fmsg, "vecidx", eq->core.vecidx); in mlx5e_health_eq_diag_fmsg()
/linux-6.12.1/include/linux/mlx5/
Ddriver.h1086 int mlx5_comp_eqn_get(struct mlx5_core_dev *dev, u16 vecidx, int *eqn);