net/mlx4_en: Reduce memory consumption on kdump kernel
authorAmir Vadai <amirv@mellanox.com>
Tue, 22 Jul 2014 12:44:12 +0000 (15:44 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jul 2014 02:53:14 +0000 (19:53 -0700)
commitea1c1af1396cac9f8a1160acdac17f80e4b4f2c4
treef68f7322365a1af4acc7354672466edd76e627e2
parent2599d8580f93f0794d2fa850501b1068ce1d0aa8
net/mlx4_en: Reduce memory consumption on kdump kernel

When memory is limited, reduce number of rx and tx rings.

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_rx.c
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h