diff options
author | Lang Cheng <chenglang@huawei.com> | 2020-03-20 04:23:37 +0100 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-03-26 20:52:28 +0100 |
commit | fd72926c332eaa28845b1f655b24006158ec5207 (patch) | |
tree | 3d69d48d899c7fece6494959ae01a8c32be2ccf3 /drivers/infiniband/hw/hns | |
parent | RDMA/hns: Optimize hns_roce_alloc_vf_resource() (diff) | |
download | linux-fd72926c332eaa28845b1f655b24006158ec5207.tar.xz linux-fd72926c332eaa28845b1f655b24006158ec5207.zip |
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/hw/hns')
-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 |