Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Dpci_irq.c256 struct irq_affinity_desc *af_desc, in mlx5_irq_alloc() argument
279 irq->map = pci_msix_alloc_irq_at(dev->pdev, MSI_ANY_INDEX, af_desc); in mlx5_irq_alloc()
307 if (af_desc) { in mlx5_irq_alloc()
308 cpumask_copy(irq->mask, &af_desc->mask); in mlx5_irq_alloc()
322 if (af_desc) in mlx5_irq_alloc()
386 struct irq_affinity_desc *af_desc, in irq_pool_request_vector() argument
397 irq = mlx5_irq_alloc(pool, vecidx, af_desc, rmap); in irq_pool_request_vector()
466 struct irq_affinity_desc af_desc; in mlx5_ctrl_irq_request() local
469 cpumask_copy(&af_desc.mask, cpu_online_mask); in mlx5_ctrl_irq_request()
470 af_desc.is_managed = false; in mlx5_ctrl_irq_request()
[all …]
Dirq_affinity.c48 irq_pool_request_irq(struct mlx5_irq_pool *pool, struct irq_affinity_desc *af_desc) in irq_pool_request_irq() argument
59 if (cpumask_weight(&af_desc->mask) > 1) in irq_pool_request_irq()
63 cpumask_set_cpu(cpu_get_least_loaded(pool, &af_desc->mask), in irq_pool_request_irq()
66 cpu_get(pool, cpumask_first(&af_desc->mask)); in irq_pool_request_irq()
69 cpumask_empty(&auto_desc.mask) ? af_desc : &auto_desc, in irq_pool_request_irq()
127 struct irq_affinity_desc *af_desc) in mlx5_irq_affinity_request() argument
133 least_loaded_irq = irq_pool_find_least_loaded(pool, &af_desc->mask); in mlx5_irq_affinity_request()
138 new_irq = irq_pool_request_irq(pool, af_desc); in mlx5_irq_affinity_request()
Dmlx5_irq.h30 struct irq_affinity_desc *af_desc,
47 struct irq_affinity_desc *af_desc);
59 struct irq_affinity_desc *af_desc) in mlx5_irq_affinity_request() argument
Dpci_irq.h38 struct irq_affinity_desc *af_desc,
Deq.c892 struct irq_affinity_desc af_desc = {}; in comp_irq_request_sf() local
899 af_desc.is_managed = false; in comp_irq_request_sf()
900 cpumask_copy(&af_desc.mask, cpu_online_mask); in comp_irq_request_sf()
901 cpumask_andnot(&af_desc.mask, &af_desc.mask, &table->used_cpus); in comp_irq_request_sf()
902 irq = mlx5_irq_affinity_request(dev, pool, &af_desc); in comp_irq_request_sf()