Loading
RDMA/hns: Fix an AEQE overflow error caused by untimely update of eq_db_ci
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IAQEU6 ---------------------------------------------------------------------- The CI is updated only after all AEQEs are processed in the AEQ interrupt, leading to untimely updates and resulting in AEQE overflow. Two optimization methods are proposed: 1. Set an upper limit for AEQE processing. 2. Move time-consuming operations to the bottom half of the interrupt. The mbx event is processed in the top half of the interrupt to ensure timely handling. This is crucial for promptly setting context->done to the complete state. Leave the handling of QP errors in the top half of interrupt to ensure timely change of QP status and execute flush_cqe(). Fixes: a5073d60 ("RDMA/hns: Add eq support of hip08") Signed-off-by:wenglianfa <wenglianfa@huawei.com> Signed-off-by:
Xinghai Cen <cenxinghai@h-partners.com>