History

net/mlx5: Introduce API for bulk request and release of IRQs

Currently IRQs are requested one by one. To balance spreading IRQs among cpus using such scheme requires remembering cpu mask for the cpus used for a given device. This complicates the IRQ allocation scheme in subsequent patch. Hence, prepare the code for bulk IRQs allocation. This enables spreading IRQs among cpus in subsequent patch.

Shay Drory committed 4 years ago

Commit 79b60ca1 parent 424544d5 files · +135 −47Browse files

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

Unified · Split

include/linux/mlx5/eq.h+2−2
@@ -9,13 +9,13 @@ · 8 unmodified lines
99 #define MLX5_NUM_SPARE_EQE (0x80)
1010
1111 struct mlx5_eq;
12+struct mlx5_irq;
1213 struct mlx5_core_dev;
1314
1415 struct mlx5_eq_param {
15− u8 irq_index;
1616 int nent;
1717 u64 mask[4];
18− cpumask_var_t affinity;
18+ struct mlx5_irq *irq;
1919 };
2020
2121 struct 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