cxgb4: Force cxgb4 driver as MASTER in kdump kernel
authorHariprasad Shenai <hariprasad@chelsio.com>
Tue, 14 Jun 2016 09:09:30 +0000 (14:39 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jun 2016 21:46:04 +0000 (14:46 -0700)
commitc5a8c0f3aa726db65b27481d284ca6c427c7a78f
treeeec764887d675af9334a9aa0892bcdc3649cface
parent88da48f4977a4b31e03cac1b6ea38f24d7916d10
cxgb4: Force cxgb4 driver as MASTER in kdump kernel

When is_kdump_kernel() is true, Forcing cxgb4 driver as Master so we can
reinitialize the Firmware/Chip. Also reduce memory usage by disabling
offload.

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c