Commit fd72926c authored by Lang Cheng's avatar Lang Cheng Committed by Jason Gunthorpe

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.comSigned-off-by: default avatarLang Cheng <chenglang@huawei.com>
Signed-off-by: default avatarWeihang Li <liweihang@huawei.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent 99e713f8
...@@ -460,8 +460,8 @@ enum hns_roce_v2_qp_state { ...@@ -460,8 +460,8 @@ enum hns_roce_v2_qp_state {
HNS_ROCE_QP_ST_INIT, HNS_ROCE_QP_ST_INIT,
HNS_ROCE_QP_ST_RTR, HNS_ROCE_QP_ST_RTR,
HNS_ROCE_QP_ST_RTS, HNS_ROCE_QP_ST_RTS,
HNS_ROCE_QP_ST_SQER,
HNS_ROCE_QP_ST_SQD, HNS_ROCE_QP_ST_SQD,
HNS_ROCE_QP_ST_SQER,
HNS_ROCE_QP_ST_ERR, HNS_ROCE_QP_ST_ERR,
HNS_ROCE_QP_ST_SQ_DRAINING, HNS_ROCE_QP_ST_SQ_DRAINING,
HNS_ROCE_QP_NUM_ST HNS_ROCE_QP_NUM_ST
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment