diff options
author | Lang Cheng <chenglang@huawei.com> | 2020-03-20 11:23:37 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-03-26 16:52:28 -0300 |
commit | fd72926c332eaa28845b1f655b24006158ec5207 (patch) | |
tree | 3d69d48d899c7fece6494959ae01a8c32be2ccf3 /drivers/infiniband | |
parent | 99e713f8daf8e0ddb728ba543a05a2b67d8c47cc (diff) | |
download | linux-fd72926c332eaa28845b1f655b24006158ec5207.tar.bz2 |
RDMA/hns: Adjust the qp status value sequence of the hardware
Interchange SQD and SQE to match the protocol.
Link: https://lore.kernel.org/r/1584674622-52773-6-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@mellanox.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/hns/hns_roce_hw_v2.h b/drivers/infiniband/hw/hns/hns_roce_hw_v2.h index 2a117ff6a6be..83e94df7f190 100644 --- a/drivers/infiniband/hw/hns/hns_roce_hw_v2.h +++ b/drivers/infiniband/hw/hns/hns_roce_hw_v2.h @@ -460,8 +460,8 @@ enum hns_roce_v2_qp_state { HNS_ROCE_QP_ST_INIT, HNS_ROCE_QP_ST_RTR, HNS_ROCE_QP_ST_RTS, - HNS_ROCE_QP_ST_SQER, HNS_ROCE_QP_ST_SQD, + HNS_ROCE_QP_ST_SQER, HNS_ROCE_QP_ST_ERR, HNS_ROCE_QP_ST_SQ_DRAINING, HNS_ROCE_QP_NUM_ST |