Home
last modified time | relevance | path

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

/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()
818 static void comp_irq_release_pci(struct mlx5_core_dev *dev, u16 vecidx) in comp_irq_release_pci() argument
823 irq = xa_load(&table->comp_irqs, vecidx); in comp_irq_release_pci()
827 xa_erase(&table->comp_irqs, vecidx); in comp_irq_release_pci()
868 static int comp_irq_request_pci(struct mlx5_core_dev *dev, u16 vecidx) in comp_irq_request_pci() argument
876 cpu = mlx5_cpumask_default_spread(dev->priv.numa_node, vecidx); in comp_irq_request_pci()
[all …]
Dpci_irq.c232 static void irq_sf_set_name(struct mlx5_irq_pool *pool, char *name, int vecidx) in irq_sf_set_name() argument
234 snprintf(name, MLX5_MAX_IRQ_NAME, "%s%d", pool->name, vecidx); in irq_sf_set_name()
237 static void irq_set_name(struct mlx5_irq_pool *pool, char *name, int vecidx) in irq_set_name() argument
241 snprintf(name, MLX5_MAX_IRQ_NAME, "mlx5_combined%d", vecidx); in irq_set_name()
245 if (!vecidx) { in irq_set_name()
246 snprintf(name, MLX5_MAX_IRQ_NAME, "mlx5_async%d", vecidx); in irq_set_name()
250 vecidx -= MLX5_IRQ_VEC_COMP_BASE; in irq_set_name()
251 snprintf(name, MLX5_MAX_IRQ_NAME, "mlx5_comp%d", vecidx); in irq_set_name()
379 irq_pool_request_vector(struct mlx5_irq_pool *pool, int vecidx, in irq_pool_request_vector() argument
386 irq = xa_load(&pool->irqs, vecidx); in irq_pool_request_vector()
[all …]
Dmlx5_irq.h29 struct mlx5_irq *mlx5_irq_request(struct mlx5_core_dev *dev, u16 vecidx,
33 u16 vecidx, struct cpu_rmap **rmap);
43 struct cpumask *used_cpus, u16 vecidx);
50 struct cpumask *used_cpus, u16 vecidx) in mlx5_irq_affinity_irq_request_auto() argument
/drivers/net/ethernet/mellanox/mlx5/core/lib/
Deq.h31 unsigned int vecidx; member
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dhealth.c123 err = devlink_fmsg_u32_pair_put(fmsg, "vecidx", eq->core.vecidx); in mlx5e_health_eq_diag_fmsg()