Searched refs:af_desc (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
D | irq_affinity.c | 48 irq_pool_request_irq(struct mlx5_irq_pool *pool, struct irq_affinity_desc *af_desc) in irq_pool_request_irq() argument 58 if (cpumask_weight(&af_desc->mask) > 1) in irq_pool_request_irq() 62 cpumask_set_cpu(cpu_get_least_loaded(pool, &af_desc->mask), in irq_pool_request_irq() 65 cpu_get(pool, cpumask_first(&af_desc->mask)); in irq_pool_request_irq() 68 cpumask_empty(&auto_desc.mask) ? af_desc : &auto_desc, in irq_pool_request_irq() 121 mlx5_irq_affinity_request(struct mlx5_irq_pool *pool, struct irq_affinity_desc *af_desc) in mlx5_irq_affinity_request() argument 126 least_loaded_irq = irq_pool_find_least_loaded(pool, &af_desc->mask); in mlx5_irq_affinity_request() 131 new_irq = irq_pool_request_irq(pool, af_desc); in mlx5_irq_affinity_request() 191 struct irq_affinity_desc af_desc = {}; in mlx5_irq_affinity_irq_request_auto() local 197 af_desc.is_managed = 1; in mlx5_irq_affinity_irq_request_auto() [all …]
|
D | pci_irq.c | 253 struct irq_affinity_desc *af_desc, in mlx5_irq_alloc() argument 276 irq->map = pci_msix_alloc_irq_at(dev->pdev, MSI_ANY_INDEX, af_desc); in mlx5_irq_alloc() 304 if (af_desc) { in mlx5_irq_alloc() 305 cpumask_copy(irq->mask, &af_desc->mask); in mlx5_irq_alloc() 319 if (af_desc) in mlx5_irq_alloc() 378 struct irq_affinity_desc *af_desc, in irq_pool_request_vector() argument 389 irq = mlx5_irq_alloc(pool, vecidx, af_desc, rmap); in irq_pool_request_vector() 457 struct irq_affinity_desc af_desc; in mlx5_ctrl_irq_request() local 460 cpumask_copy(&af_desc.mask, cpu_online_mask); in mlx5_ctrl_irq_request() 461 af_desc.is_managed = false; in mlx5_ctrl_irq_request() [all …]
|
D | mlx5_irq.h | 30 struct irq_affinity_desc *af_desc, 45 struct irq_affinity_desc *af_desc); 56 mlx5_irq_affinity_request(struct mlx5_irq_pool *pool, struct irq_affinity_desc *af_desc) in mlx5_irq_affinity_request() argument
|
D | pci_irq.h | 35 struct irq_affinity_desc *af_desc,
|