Searched refs:af_desc (Results 1 – 5 of 5) sorted by relevance
/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 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() 125 mlx5_irq_affinity_request(struct mlx5_irq_pool *pool, struct irq_affinity_desc *af_desc) in mlx5_irq_affinity_request() argument 130 least_loaded_irq = irq_pool_find_least_loaded(pool, &af_desc->mask); in mlx5_irq_affinity_request() 135 new_irq = irq_pool_request_irq(pool, af_desc); in mlx5_irq_affinity_request()
|
D | pci_irq.c | 255 struct irq_affinity_desc *af_desc, in mlx5_irq_alloc() argument 278 irq->map = pci_msix_alloc_irq_at(dev->pdev, MSI_ANY_INDEX, af_desc); in mlx5_irq_alloc() 306 if (af_desc) { in mlx5_irq_alloc() 307 cpumask_copy(irq->mask, &af_desc->mask); in mlx5_irq_alloc() 321 if (af_desc) in mlx5_irq_alloc() 380 struct irq_affinity_desc *af_desc, in irq_pool_request_vector() argument 391 irq = mlx5_irq_alloc(pool, vecidx, af_desc, rmap); in irq_pool_request_vector() 459 struct irq_affinity_desc af_desc; in mlx5_ctrl_irq_request() local 462 cpumask_copy(&af_desc.mask, cpu_online_mask); in mlx5_ctrl_irq_request() 463 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 | 38 struct irq_affinity_desc *af_desc,
|
D | eq.c | 904 struct irq_affinity_desc af_desc = {}; in comp_irq_request_sf() local 911 af_desc.is_managed = 1; in comp_irq_request_sf() 912 cpumask_copy(&af_desc.mask, cpu_online_mask); in comp_irq_request_sf() 913 cpumask_andnot(&af_desc.mask, &af_desc.mask, &table->used_cpus); in comp_irq_request_sf() 914 irq = mlx5_irq_affinity_request(pool, &af_desc); in comp_irq_request_sf()
|