diff options
author | Chengchang Tang <tangchengchang@huawei.com> | 2024-07-10 16:37:05 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2024-07-11 13:25:12 +0300 |
commit | bbddfa2255dd0800209697fd12378e02ed05f833 (patch) | |
tree | 912012433c2b1129eac1477b5a79670f28e71a18 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 0b8e658f70ffd5dc7cda3872fd524d657d4796b7 (diff) | |
download | linux-bbddfa2255dd0800209697fd12378e02ed05f833.tar.xz |
RDMA/hns: Fix mbx timing out before CMD execution is completed
When a large number of tasks are issued, the speed of HW processing
mbx will slow down. The standard for judging mbx timeout in the current
firmware is 30ms, and the current timeout standard for the driver is also
30ms.
Considering that firmware scheduling in multi-function scenarios takes a
certain amount of time, this will cause the driver to time out too early
and report a failure before mbx execution times out.
This patch introduces a new mechanism that can set different timeouts for
different cmds and extends the timeout of mbx to 35ms.
Fixes: a04ff739f2a9 ("RDMA/hns: Add command queue support for hip08 RoCE driver")
Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://lore.kernel.org/r/20240710133705.896445-9-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions