projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3f4aad
)
RDMA/qedr: Fix MTU returned from QP query
author
Amrani, Ram
<Ram.Amrani@cavium.com>
Mon, 26 Dec 2016 06:40:58 +0000
(08:40 +0200)
committer
Doug Ledford
<dledford@redhat.com>
Tue, 24 Jan 2017 20:34:30 +0000
(15:34 -0500)
MTU value returned from QP query should include overhead.
Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/qedr/verbs.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/infiniband/hw/qedr/verbs.c
b/drivers/infiniband/hw/qedr/verbs.c
index 57c8de2080773b161272774a69eaebf02cc411ed..84dcd73bd57b02bea23a7f4a75a5edd7951e6bf4 100644
(file)
--- a/
drivers/infiniband/hw/qedr/verbs.c
+++ b/
drivers/infiniband/hw/qedr/verbs.c
@@
-2016,7
+2016,7
@@
int qedr_query_qp(struct ib_qp *ibqp,
qp_attr->qp_state = qedr_get_ibqp_state(params.state);
qp_attr->cur_qp_state = qedr_get_ibqp_state(params.state);
- qp_attr->path_mtu = ib
oe_get_mtu
(params.mtu);
+ qp_attr->path_mtu = ib
_mtu_int_to_enum
(params.mtu);
qp_attr->path_mig_state = IB_MIG_MIGRATED;
qp_attr->rq_psn = params.rq_psn;
qp_attr->sq_psn = params.sq_psn;