diff options
author | Dotan Barak <dotanb@dev.mellanox.co.il> | 2012-07-11 11:39:28 -0400 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2012-07-11 12:22:57 -0400 |
commit | 16551d450146eeba29ae3933560a2ed4968b23ce (patch) | |
tree | 1cea80529fa132e6b6a87daba8a9de6edb11a846 /drivers/infiniband/hw/mthca | |
parent | 9bbeb6663ea2f069bd3bb6387fe7a824def21064 (diff) |
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/hw/mthca')
-rw-r--r-- | drivers/infiniband/hw/mthca/mthca_qp.c | 1 |
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: | |||
502 | qp_attr->cap.max_inline_data = qp->max_inline_data; | 502 | qp_attr->cap.max_inline_data = qp->max_inline_data; |
503 | 503 | ||
504 | qp_init_attr->cap = qp_attr->cap; | 504 | qp_init_attr->cap = qp_attr->cap; |
505 | qp_init_attr->sq_sig_type = qp->sq_policy; | ||
505 | 506 | ||
506 | out_mailbox: | 507 | out_mailbox: |
507 | mthca_free_mailbox(dev, mailbox); | 508 | mthca_free_mailbox(dev, mailbox); |