diff options
Diffstat (limited to 'drivers/infiniband/hw/mlx4/mlx4_ib.h')
-rw-r--r-- | drivers/infiniband/hw/mlx4/mlx4_ib.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx4/mlx4_ib.h b/drivers/infiniband/hw/mlx4/mlx4_ib.h index 93dac71f3230..24ccadd6e4f8 100644 --- a/drivers/infiniband/hw/mlx4/mlx4_ib.h +++ b/drivers/infiniband/hw/mlx4/mlx4_ib.h | |||
@@ -95,7 +95,8 @@ struct mlx4_ib_mr { | |||
95 | struct mlx4_ib_wq { | 95 | struct mlx4_ib_wq { |
96 | u64 *wrid; | 96 | u64 *wrid; |
97 | spinlock_t lock; | 97 | spinlock_t lock; |
98 | int max; | 98 | int wqe_cnt; |
99 | int max_post; | ||
99 | int max_gs; | 100 | int max_gs; |
100 | int offset; | 101 | int offset; |
101 | int wqe_shift; | 102 | int wqe_shift; |
@@ -113,6 +114,7 @@ struct mlx4_ib_qp { | |||
113 | 114 | ||
114 | u32 doorbell_qpn; | 115 | u32 doorbell_qpn; |
115 | __be32 sq_signal_bits; | 116 | __be32 sq_signal_bits; |
117 | int sq_spare_wqes; | ||
116 | struct mlx4_ib_wq sq; | 118 | struct mlx4_ib_wq sq; |
117 | 119 | ||
118 | struct ib_umem *umem; | 120 | struct ib_umem *umem; |
@@ -123,6 +125,7 @@ struct mlx4_ib_qp { | |||
123 | u8 alt_port; | 125 | u8 alt_port; |
124 | u8 atomic_rd_en; | 126 | u8 atomic_rd_en; |
125 | u8 resp_depth; | 127 | u8 resp_depth; |
128 | u8 sq_no_prefetch; | ||
126 | u8 state; | 129 | u8 state; |
127 | }; | 130 | }; |
128 | 131 | ||