diff options
author | Shay Drory <[email protected]> | 2021-02-23 11:57:32 +0200 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2021-06-14 20:58:00 -0700 |
commit | c36326d38d933199014aba5a17d384cf52e4b558 (patch) | |
tree | f6794cde17b9b6d02dd5aa30697943da56399c0b /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | c8ea212bfdff5152f1ca78400f297bfba75691e0 (diff) |
net/mlx5: Round-Robin EQs over IRQs
Whenever users provided affinity for an EQ creation request, map the
EQ to a matching IRQ.
Matching IRQ=IRQ with the same affinity and type (completion/control) of
the EQ created.
This mapping is being done in agressive dedicated IRQ allocation scheme,
which described bellow.
First, we check whether there is a matching IRQ that his min threshold
is not exhausted.
- min_eqs_threshold = 3 for control EQ.
- min_eqs_threshold = 1 for completion EQ.
In case no matching IRQ was found, try to request a new IRQ.
In case we can't request a new IRQ, reuse least-used matching IRQ.
Signed-off-by: Shay Drory <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Reviewed-by: Tariq Toukan <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions