|
@@ -41,6 +41,7 @@
|
|
|
#include <linux/ethtool.h>
|
|
|
#include <linux/mii.h>
|
|
|
#include <linux/if_vlan.h>
|
|
|
+#include <linux/crash_dump.h>
|
|
|
#include <net/ip.h>
|
|
|
#include <net/ipv6.h>
|
|
|
#include <net/tcp.h>
|
|
@@ -11956,7 +11957,7 @@ static int bnx2x_init_bp(struct bnx2x *bp)
|
|
|
bp->disable_tpa = disable_tpa;
|
|
|
bp->disable_tpa |= IS_MF_STORAGE_SD(bp) || IS_MF_FCOE_AFEX(bp);
|
|
|
/* Reduce memory usage in kdump environment by disabling TPA */
|
|
|
- bp->disable_tpa |= reset_devices;
|
|
|
+ bp->disable_tpa |= is_kdump_kernel();
|
|
|
|
|
|
/* Set TPA flags */
|
|
|
if (bp->disable_tpa) {
|