diff options
author | 2024-10-23 14:51:12 -0600 | |
---|---|---|
committer | 2024-10-29 16:20:00 -0700 | |
commit | 77693e6c140aff6957d1046475fe69f45fdb1583 (patch) | |
tree | 1a9271242a922c55f30249c6eecf2a49d6074c61 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mlx5: fix typo in "mlx5_cqwq_get_cqe_enahnced_comp" (diff) | |
download | wireguard-linux-77693e6c140aff6957d1046475fe69f45fdb1583.tar.xz wireguard-linux-77693e6c140aff6957d1046475fe69f45fdb1583.zip |
mlx5: simplify EQ interrupt polling logic
Use a while loop in mlx5_eq_comp_int() and mlx5_eq_async_int() to
clarify the EQE polling logic. This consolidates the next_eqe_sw() calls
for the first and subequent iterations. It also avoids a goto. Turn the
num_eqes < MLX5_EQ_POLLING_BUDGET check into a break condition.
Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20241023205113.255866-1-csander@purestorage.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions