net/mlx5e: Reduce memory consumption on kdump kernel
authorKamal Heib <kamalh@mellanox.com>
Tue, 22 Nov 2016 09:03:32 +0000 (11:03 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 24 Jan 2017 19:14:07 +0000 (21:14 +0200)
commitb4e029da29ce8244879b607fbf0514d1087dc3f5
tree5903189dd7cb091095c6df53c89c76a7e6550d91
parent7898489880f55a9c3a954cd5660a0fb4fd81b625
net/mlx5e: Reduce memory consumption on kdump kernel

Reduce memory consumption on kdump kernel by decreasing the number of
channels to 1 and the size of RQs and SQs to the minimal values.

Signed-off-by: Kamal Heib <kamalh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c