bnx2x: save RAM in kdump kernel by disabling TPA
authorMichal Schmidt <mschmidt@redhat.com>
Tue, 25 Feb 2014 15:04:26 +0000 (16:04 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Feb 2014 20:27:50 +0000 (15:27 -0500)
commit94d9de3cf7b7902253e65d7aef30f2db051c1ac6
tree0a543a0f2f3717659320a29201ac14f6ecf25c6b
parentff2ad3071f56697920a7154ca301fd45d17d57d2
bnx2x: save RAM in kdump kernel by disabling TPA

When running in a kdump kernel, disable TPA. This saves memory, which
tends to be scarce in kdump.

TPA, being a receive acceleration, is unlikely to be useful for kdump,
whose purpose is to send the memory image out.

This saves additional 5 MB in the kdump environment.

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