diff options
author | Chengchang Tang <[email protected]> | 2022-11-26 18:29:10 +0800 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2022-12-07 19:51:06 -0400 |
commit | 667d6164b84884c64de3fc18670cd5a98b0b10cf (patch) | |
tree | 9a6b46e7f851e59c1b2249acdd38f340d8643e91 /lib/mpi/mpi-mod.c | |
parent | 99dc5a0712883d5d13b620d25b3759d429577bc8 (diff) |
RDMA/hns: Fix error code of CMD
The error code is fixed to EIO when CMD fails to excute. This patch
converts the error status reported by firmware to linux errno.
Fixes: a04ff739f2a9 ("RDMA/hns: Add command queue support for hip08 RoCE driver")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Chengchang Tang <[email protected]>
Signed-off-by: Haoyue Xu <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions