]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit022067cd1c30df3c99b40a255510516f4ef4f5bb
tree6eec5cd76e1231875941925df30d43f55dee0a8d
parentb9bd57056d6c27d0ef83b602c3d8f0f8c07f85fc
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