RDMA/hns: Add vendor_err info to error WC
authorLang Cheng <chenglang@huawei.com>
Tue, 22 Jun 2021 11:53:56 +0000 (19:53 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 22 Jun 2021 18:28:53 +0000 (15:28 -0300)
commitd5d182ea5aa2ae3cb20f98dddcfeaf263b802c07
tree930adaab5172fbd50cd43613e410b115ad6aabed
parentc4eb44ffd9d7d30902345accb2bd1e2334d1f5f2
RDMA/hns: Add vendor_err info to error WC

ULP can get more error information of CQ through verbs instead of prints.

Link: https://lore.kernel.org/r/1624362836-11631-1-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.c