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:
65795ef
)
RDMA/nes: Fix max_qp_init_rd_atom returned from query device
author
Faisal Latif
<faisal.latif@intel.com>
Tue, 23 Jun 2009 05:52:30 +0000
(22:52 -0700)
committer
Roland Dreier
<rolandd@cisco.com>
Tue, 23 Jun 2009 05:52:30 +0000
(22:52 -0700)
In nes_query_device(), max_qp_init_rd_atom is incorrectly set to
max_qp_wr. This was found when a test application had a dapl async
event error.
Signed-off-by: Faisal Latif <faisal.latif@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/nes/nes_verbs.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/nes/nes_verbs.c
b/drivers/infiniband/hw/nes/nes_verbs.c
index 64d5cfd8f380f84e18564413bde8bfc879c62d28..21e0fd336cf710196dcbf2fe5bb3daecac7a21f4 100644
(file)
--- a/
drivers/infiniband/hw/nes/nes_verbs.c
+++ b/
drivers/infiniband/hw/nes/nes_verbs.c
@@
-654,7
+654,7
@@
static int nes_query_device(struct ib_device *ibdev, struct ib_device_attr *prop
default:
props->max_qp_rd_atom = 0;
}
- props->max_qp_init_rd_atom = props->max_qp_
wr
;
+ props->max_qp_init_rd_atom = props->max_qp_
rd_atom
;
props->atomic_cap = IB_ATOMIC_NONE;
props->max_map_per_fmr = 1;