History

net/mlx5: Change interrupt handler to call chain notifier

Multiple EQs may share the same IRQ in subsequent patches. Instead of calling the IRQ handler directly, the EQ will register to an atomic chain notfier. The Linux built-in shared IRQ is not used because it forces the caller to disable the IRQ and clear affinity before free_irq() can be called. This patch is the first step in the separation of IRQ and EQ logic.

Yuval Avnery committed 7 years ago

Commit ca390791 parent 081cc2d5 files · +105 −56Browse files

Showing the changes to include/linux (1 of 5 files). Show all

Unified · Split

include/linux/mlx5/eq.h+1−2
@@ -26,8 +26,7 @@ struct mlx5_eq_param { · 25 unmodified lines
26 u8 index;26 u8 index;
27 int nent;27 int nent;
28 u64 mask;28 u64 mask;
29 void *context;29 struct notifier_block *nb;
30 irq_handler_t handler;
31};30};
32 31
33struct mlx5_eq *32struct mlx5_eq *

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t