mlx4_core: fix wrong comment about the reason of subtract one from the max_cqes
authorDotan Barak <dotanb@dev.mellanox.co.il>
Sun, 3 Nov 2019 09:11:35 +0000 (11:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Nov 2019 02:01:01 +0000 (18:01 -0800)
commit57d0f00dfeb3775eae88af1c4aeda6bd35943f20
treec45f78c1b2acd8e31feda1d4b600d8feb95df9bf
parente684000b8a2b1e14b9f8ebd72dfd998d44a864ca
mlx4_core: fix wrong comment about the reason of subtract one from the max_cqes

The reason for the pre-allocation of one CQE is to enable resizing of
the CQ.
Fix comment accordingly.

Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/main.c