RDMA/hns: Support more return types of command queue
authorLang Cheng <chenglang@huawei.com>
Thu, 1 Apr 2021 07:32:20 +0000 (15:32 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 8 Apr 2021 19:05:03 +0000 (16:05 -0300)
commit0835cf58393c3c161647ff8b5a3b3298955404a2
tree6eec5cd76e1231875941925df30d43f55dee0a8d
parenta389d016c03012cc39e6655d4f5b3e06e3161445
RDMA/hns: Support more return types of command queue

Add error code definition according to the return code from firmware to
help find out more detailed reasons why a command fails to be sent.

Link: https://lore.kernel.org/r/1617262341-37571-3-git-send-email-liweihang@huawei.com
Signed-off-by: Lang Cheng <chenglang@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.h