net/mlx4_en: Verify mlx4_en module parameters
authorEugenia Emantayev <eugenia@mellanox.com>
Sun, 2 Mar 2014 08:24:58 +0000 (10:24 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Mar 2014 01:04:00 +0000 (20:04 -0500)
commitb97b33a3df0439401f80f041eda507d4fffa0dbf
treee867d7eed0370bb8675ccca0323612c1fc775b0a
parentfd8daa45f2bd9b876e0dbb9503ccc5a5252844f2
net/mlx4_en: Verify mlx4_en module parameters

Verify mlx4_en module parameters.
In case they are out of range - reset to default values.

Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_main.c
drivers/net/ethernet/mellanox/mlx4/en_tx.c
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h