aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/mlx4/qp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/mlx4/qp.c')
-rw-r--r--drivers/net/mlx4/qp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/mlx4/qp.c b/drivers/net/mlx4/qp.c
index ec9350e5f21a..51c53898c35f 100644
--- a/drivers/net/mlx4/qp.c
+++ b/drivers/net/mlx4/qp.c
@@ -280,6 +280,9 @@ int mlx4_init_qp_table(struct mlx4_dev *dev)
280 * We reserve 2 extra QPs per port for the special QPs. The 280 * We reserve 2 extra QPs per port for the special QPs. The
281 * block of special QPs must be aligned to a multiple of 8, so 281 * block of special QPs must be aligned to a multiple of 8, so
282 * round up. 282 * round up.
283 *
284 * We also reserve the MSB of the 24-bit QP number to indicate
285 * that a QP is an XRC QP.
283 */ 286 */
284 dev->caps.sqp_start = 287 dev->caps.sqp_start =
285 ALIGN(dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FW], 8); 288 ALIGN(dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FW], 8);