mlx4: fix error message for invalid number of descriptors
authorOr Ami <ora@mellanox.com>
Tue, 30 Jun 2015 09:27:55 +0000 (11:27 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 1 Jul 2015 08:58:52 +0000 (10:58 +0200)
commit0ab6626beb9c911c5334c9a8762ce6fbcd52ce5d
tree9f8e6e129c08b281a118cc6f26f0e10e4be42319
parentbaf036766f91e4155327a101da2dd5a0d243b188
mlx4: fix error message for invalid number of descriptors

The number of descriptors must be a multiple of MLX4_PMD_SGE_WR_N.

Signed-off-by: Or Ami <ora@mellanox.com>
Signed-off-by: Olga Shern <olgas@mellanox.com>
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx4/mlx4.c