diff options
author | 2024-10-24 20:39:56 +0800 | |
---|---|---|
committer | 2024-10-30 14:13:54 +0200 | |
commit | 571e4ab8a45e530623ab129803f090a844dd3fe9 (patch) | |
tree | 0c5a35ccb588f0a7da847803ec85d2366c5aae1e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | RDMA: Use ethtool string helpers (diff) | |
download | wireguard-linux-571e4ab8a45e530623ab129803f090a844dd3fe9.tar.xz wireguard-linux-571e4ab8a45e530623ab129803f090a844dd3fe9.zip |
RDMA/hns: Fix an AEQE overflow error caused by untimely update of eq_db_ci
eq_db_ci is updated only after all AEQEs are processed in the AEQ
interrupt handler, which is not timely enough and may result in
AEQ overflow. Two optimization methods are proposed:
1. Set an upper limit for AEQE processing.
2. Move time-consuming operations such as printings to the bottom
half of the interrupt.
cmd events and flush_cqe events are still fully processed in the top half
to ensure timely handling.
Fixes: a5073d6054f7 ("RDMA/hns: Add eq support of hip08")
Signed-off-by: wenglianfa <wenglianfa@huawei.com>
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://patch.msgid.link/20241024124000.2931869-2-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions