projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b3bc7a
)
IB/mthca: fix for SQEr-to-RTS transition in modify QP
author
Jack Morgenstein
<jackm@mellanox.co.il>
Fri, 6 Jan 2006 21:01:27 +0000
(13:01 -0800)
committer
Roland Dreier
<rolandd@cisco.com>
Fri, 6 Jan 2006 21:01:27 +0000
(13:01 -0800)
Fixes to SQEr->RTS transition in modify_qp:
1. The flag IB_QP_ACCESS_FLAGS is optional for UC qps
2. The SQEr state is not supported for RC qps
Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_qp.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/mthca/mthca_qp.c
b/drivers/infiniband/hw/mthca/mthca_qp.c
index fd60cf3a5ba374b32b3db6ca05f2e015b15ccba0..623f5144eae2b959c375a4708034934cf5ca8c3b 100644
(file)
--- a/
drivers/infiniband/hw/mthca/mthca_qp.c
+++ b/
drivers/infiniband/hw/mthca/mthca_qp.c
@@
-476,9
+476,8
@@
static const struct {
.opt_param = {
[UD] = (IB_QP_CUR_STATE |
IB_QP_QKEY),
- [UC] = IB_QP_CUR_STATE,
- [RC] = (IB_QP_CUR_STATE |
- IB_QP_MIN_RNR_TIMER),
+ [UC] = (IB_QP_CUR_STATE |
+ IB_QP_ACCESS_FLAGS),
[MLX] = (IB_QP_CUR_STATE |
IB_QP_QKEY),
}