]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitceabe561f5d1e344a24a82cd25f8a1507c2db665
tree85ef52fe0d3a98844f46bb954339c7d9d30d9d48
parentb93d747ac1791570288423efe7ed9c8f551a6abf
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