net/mlx4_core: Use low memory profile on kdump kernel
authorAmir Vadai <amirv@mellanox.com>
Tue, 22 Jul 2014 12:44:11 +0000 (15:44 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jul 2014 02:53:14 +0000 (19:53 -0700)
commit2599d8580f93f0794d2fa850501b1068ce1d0aa8
treeeac3c2b7e7a642adc071df54c57b87f392f7654e
parent0fef9d0308d4c524da716b4b669d8754594450b2
net/mlx4_core: Use low memory profile on kdump kernel

When running in kdump kernel, reduce number of resources allocated for
the hardware. This will enable the NIC to operate in this low memory
environment at the expense of performance and some features not related
to the basic NIC functionality.

Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/main.c
include/linux/mlx4/device.h