]> git.karo-electronics.de Git - linux-beck.git/commitdiff
IB/mthca: Fill in sq_sig_type in query QP
authorDotan Barak <dotanb@dev.mellanox.co.il>
Wed, 11 Jul 2012 15:39:28 +0000 (15:39 +0000)
committerRoland Dreier <roland@purestorage.com>
Wed, 11 Jul 2012 16:22:57 +0000 (09:22 -0700)
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>
drivers/infiniband/hw/mthca/mthca_qp.c

index c3074a1d34ed01c70adb487af0950a9183d9b8a7..26a684536109cc36ddb0a23813db006155d5e561 100644 (file)
@@ -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);