projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99e713f
)
RDMA/hns: Adjust the qp status value sequence of the hardware
author
Lang Cheng
<chenglang@huawei.com>
Fri, 20 Mar 2020 03:23:37 +0000
(11:23 +0800)
committer
Jason Gunthorpe
<jgg@mellanox.com>
Thu, 26 Mar 2020 19:52:28 +0000
(16:52 -0300)
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>
drivers/infiniband/hw/hns/hns_roce_hw_v2.h
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/hns/hns_roce_hw_v2.h
b/drivers/infiniband/hw/hns/hns_roce_hw_v2.h
index
2a117ff
..
83e94df
100644
(file)
--- 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