#ifndef __PCI_IRQ_H__
#define __PCI_IRQ_H__
#include <linux/mlx5/driver.h>
#define MLX5_MAX_IRQ_NAME …
#define MLX5_IRQ_NAME_FORMAT_STR …
#define MLX5_MAX_IRQ_FORMATTED_NAME …
#define MLX5_MAX_IRQ_IDX_CHARS …
#define MLX5_EQ_REFS_PER_IRQ …
struct mlx5_irq;
struct cpu_rmap;
struct mlx5_irq_pool { … };
struct mlx5_irq_pool *mlx5_irq_pool_get(struct mlx5_core_dev *dev);
static inline bool mlx5_irq_pool_is_sf_pool(struct mlx5_irq_pool *pool)
{ … }
struct mlx5_irq *mlx5_irq_alloc(struct mlx5_irq_pool *pool, int i,
struct irq_affinity_desc *af_desc,
struct cpu_rmap **rmap);
int mlx5_irq_get_locked(struct mlx5_irq *irq);
int mlx5_irq_read_locked(struct mlx5_irq *irq);
int mlx5_irq_put(struct mlx5_irq *irq);
#endif