net/mlx4_en: Use minimal rx and tx ring sizes on kdump kernel
authorAlaa Hleihel <alaa@mellanox.com>
Tue, 9 Oct 2018 09:06:52 +0000 (12:06 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Oct 2018 18:08:48 +0000 (11:08 -0700)
commit27055454b43009b6775a7ce70907bb298f4fab1e
tree85ef52fe0d3a98844f46bb954339c7d9d30d9d48
parent071a234ad744ab9a1e9c948874d5f646a2964734
net/mlx4_en: Use minimal rx and tx ring sizes on kdump kernel

When memory is limited (on kdump kernel), reduce size of rx and tx rings.
Also reduce the number of rx rings.

Signed-off-by: Alaa Hleihel <alaa@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_main.c
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h