aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorDotan Barak <dotanb@dev.mellanox.co.il>2012-07-11 15:39:28 +0000
committerRoland Dreier <roland@purestorage.com>2012-07-11 09:22:57 -0700
commit16551d450146eeba29ae3933560a2ed4968b23ce (patch)
tree1cea80529fa132e6b6a87daba8a9de6edb11a846 /drivers/infiniband
parentIB/mthca: Warning about event for non-existent QPs should show event type (diff)
downloadlinux-dev-16551d450146eeba29ae3933560a2ed4968b23ce.tar.xz
linux-dev-16551d450146eeba29ae3933560a2ed4968b23ce.zip
IB/mthca: Fill in sq_sig_type in query QP
The query QP code was didn't fill that attribute, do that. Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il> Reviewed-by: Jack Morgenstein <jackm@dev.mellanox.co.il> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/mthca/mthca_qp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_qp.c b/drivers/infiniband/hw/mthca/mthca_qp.c
index c3074a1d34ed..26a684536109 100644
--- a/drivers/infiniband/hw/mthca/mthca_qp.c
+++ b/drivers/infiniband/hw/mthca/mthca_qp.c
@@ -502,6 +502,7 @@ done:
qp_attr->cap.max_inline_data = qp->max_inline_data;
qp_init_attr->cap = qp_attr->cap;
+ qp_init_attr->sq_sig_type = qp->sq_policy;
out_mailbox:
mthca_free_mailbox(dev, mailbox);