mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-16 21:35:07 +00:00
IB/mlx4: Fill in sq_sig_type in query QP
Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
This commit is contained in:
parent
979570e029
commit
46db567deb
@ -2225,6 +2225,10 @@ done:
|
|||||||
if (qp->flags & MLX4_IB_QP_LSO)
|
if (qp->flags & MLX4_IB_QP_LSO)
|
||||||
qp_init_attr->create_flags |= IB_QP_CREATE_IPOIB_UD_LSO;
|
qp_init_attr->create_flags |= IB_QP_CREATE_IPOIB_UD_LSO;
|
||||||
|
|
||||||
|
qp_init_attr->sq_sig_type =
|
||||||
|
qp->sq_signal_bits == cpu_to_be32(MLX4_WQE_CTRL_CQ_UPDATE) ?
|
||||||
|
IB_SIGNAL_ALL_WR : IB_SIGNAL_REQ_WR;
|
||||||
|
|
||||||
out:
|
out:
|
||||||
mutex_unlock(&qp->mutex);
|
mutex_unlock(&qp->mutex);
|
||||||
return err;
|
return err;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user