diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2014-02-23 07:19:07 -0500 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-03-07 14:26:49 -0500 |
commit | e1e66cc26457c2e9412f67618646ec2a441fc409 (patch) | |
tree | cc2b454307a07bf68242e7e7025e0bcf8d1b3c32 /include | |
parent | 3121e3c441b5eccdd15e6c320ec32215b334b9ec (diff) |
IB/mlx5: Initialize mlx5_ib_qp signature-related members
If user requested signature enable we initialize relevant mlx5_ib_qp
members. We mark the qp as sig_enable and we increase the effective
SQ size, but still limit the user max_send_wr to original size
computed. We also allow the create_qp routine to accept sig_enable
create flag.
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mlx5/qp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx5/qp.h b/include/linux/mlx5/qp.h index d51eff713549..152756eaa8a3 100644 --- a/include/linux/mlx5/qp.h +++ b/include/linux/mlx5/qp.h | |||
@@ -37,6 +37,7 @@ | |||
37 | #include <linux/mlx5/driver.h> | 37 | #include <linux/mlx5/driver.h> |
38 | 38 | ||
39 | #define MLX5_INVALID_LKEY 0x100 | 39 | #define MLX5_INVALID_LKEY 0x100 |
40 | #define MLX5_SIG_WQE_SIZE (MLX5_SEND_WQE_BB * 5) | ||
40 | 41 | ||
41 | enum mlx5_qp_optpar { | 42 | enum mlx5_qp_optpar { |
42 | MLX5_QP_OPTPAR_ALT_ADDR_PATH = 1 << 0, | 43 | MLX5_QP_OPTPAR_ALT_ADDR_PATH = 1 << 0, |