bnx2x: save RAM in kdump kernel by using a single queue
authorMichal Schmidt <mschmidt@redhat.com>
Tue, 25 Feb 2014 15:04:25 +0000 (16:04 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Feb 2014 20:27:50 +0000 (15:27 -0500)
commitff2ad3071f56697920a7154ca301fd45d17d57d2
treee2c1746ff59c5a6c024196d119987adf69c49cba
parent7d0445d66a7619e23257570daa794dbf1d89c2a6
bnx2x: save RAM in kdump kernel by using a single queue

When running in a kdump kernel, make sure to use only a single ethernet
queue even if a num_queues option in /etc/modprobe.d/*.conf would specify
otherwise. This saves memory, which tends to be scarce in kdump.

This saves about 40 MB in the kdump environment on a setup with
num_queues=8 in the config file.

Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c