linux/drivers/net/ethernet/qlogic/qed
Alok Prasad 6da95b52b8 net: qed: fixes crash while running driver in kdump kernel
This fixes a crash introduced by recent is_kdump_kernel() check.
The source of the crash is that kdump kernel can be loaded on a
system with already created VFs. But for such VFs, it will follow
a logic path of PF and eventually crash.

Thus, we are partially reverting back previous changes and instead
use is_kdump_kernel is a single init point of PF init, where we
disable SRIOV explicitly.

Fixes: 37d4f8a6b4 ("net: qed: Disable SRIOV functionality inside kdump kernel")
Cc: Bhupesh Sharma <bhsharma@redhat.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: Alok Prasad <palok@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-06-05 13:20:16 -07:00
..
Makefile qed: Add support for tlv request processing. 2018-05-22 23:29:53 -04:00
qed_cxt.c qed: changes to ILT to support XRC 2020-05-21 17:08:25 -07:00
qed_cxt.h qed: changes to ILT to support XRC 2020-05-21 17:08:25 -07:00
qed_dcbx.c qed: Define new MF bit for no_vlan config 2019-03-20 11:12:50 -07:00
qed_dcbx.h qed: Do not add VLAN 0 tag to untagged frames in multi-function mode. 2018-09-19 23:12:24 -07:00
qed_debug.c net: qed: cleanup debug related declarations 2020-05-14 13:25:46 -07:00
qed_debug.h qed: Debug feature: ilt and mdump 2020-01-27 14:35:32 +01:00
qed_dev_api.h qed: Use dmae to write to widebus registers in fw_funcs 2020-01-27 14:35:32 +01:00
qed_dev.c qed: changes to ILT to support XRC 2020-05-21 17:08:25 -07:00
qed_fcoe.c qed: FW 8.42.2.0 iscsi/fcoe changes 2020-01-27 14:35:32 +01:00
qed_fcoe.h
qed_hsi.h net: qed: introduce critical hardware error handler 2020-05-14 13:25:46 -07:00
qed_hw.c net: qed: critical err reporting to management firmware 2020-05-14 13:25:46 -07:00
qed_hw.h net: qed: adding hw_err states and handling 2020-05-14 13:25:46 -07:00
qed_init_fw_funcs.c qed: FW 8.42.2.0 Add fw overlay feature 2020-01-27 14:35:32 +01:00
qed_init_ops.c qed: rt init valid initialization changed 2020-01-27 14:35:32 +01:00
qed_init_ops.h qed: rt init valid initialization changed 2020-01-27 14:35:32 +01:00
qed_int.c net: qed: attention clearing properties 2020-05-14 13:25:46 -07:00
qed_int.h net: qed: attention clearing properties 2020-05-14 13:25:46 -07:00
qed_iscsi.c qed: FW 8.42.2.0 iscsi/fcoe changes 2020-01-27 14:35:32 +01:00
qed_iscsi.h
qed_iwarp.c qed: FW 8.42.2.0 Additional ll2 type 2020-01-27 14:35:32 +01:00
qed_iwarp.h qed: Add llh ppfid interface and 100g support for offload protocols 2019-05-26 13:04:11 -07:00
qed_l2.c qed: remove redundant assignment to variable 'rc' 2020-04-06 10:22:09 -07:00
qed_l2.h qed: Fix LACP pdu drops for VFs 2019-01-28 11:13:34 -08:00
qed_ll2.c qed: Make ll2_cbs static 2020-04-23 15:53:52 -07:00
qed_ll2.h qed: FW 8.42.2.0 Additional ll2 type 2020-01-27 14:35:32 +01:00
qed_main.c net: qed: attention clearing properties 2020-05-14 13:25:46 -07:00
qed_mcp.c net: qed: introduce critical hardware error handler 2020-05-14 13:25:46 -07:00
qed_mcp.h net: qed: introduce critical hardware error handler 2020-05-14 13:25:46 -07:00
qed_mng_tlv.c qed: Add support for processing iscsi tlv request. 2018-05-22 23:29:54 -04:00
qed_ooo.c qed: Remove set but not used variable 'p_archipelago' 2018-09-28 10:25:11 -07:00
qed_ooo.h
qed_ptp.c qed: Fix timestamping issue for L2 unicast ptp packets. 2020-02-05 15:19:34 +01:00
qed_rdma.c qed: Add EDPM mode type for user-fw compatibility 2020-05-26 15:15:40 -07:00
qed_rdma.h qed: Add EDPM mode type for user-fw compatibility 2020-05-26 15:15:40 -07:00
qed_reg_addr.h qed: FW 8.42.2.0 Expose new registers and change windows 2020-01-27 14:35:32 +01:00
qed_roce.c qed: Add EDPM mode type for user-fw compatibility 2020-05-26 15:15:40 -07:00
qed_roce.h
qed_selftest.c
qed_selftest.h
qed_sp_commands.c qed: remove redundant assignments to rc 2019-12-09 14:28:19 -08:00
qed_sp.h qed: FW 8.42.2.0 iscsi/fcoe changes 2020-01-27 14:35:32 +01:00
qed_spq.c net: qed: invoke err notify on critical areas 2020-05-14 13:25:46 -07:00
qed_sriov.c net: qed: fixes crash while running driver in kdump kernel 2020-06-05 13:20:16 -07:00
qed_sriov.h net: qed: fixes crash while running driver in kdump kernel 2020-06-05 13:20:16 -07:00
qed_vf.c qed: fix spelling mistake "fullill" -> "fulfill" 2019-09-16 09:06:54 +02:00
qed_vf.h qed: Correct Multicast API to reflect existence of 256 approximate buckets. 2018-07-21 16:19:04 -07:00
qed.h net: qed: attention clearing properties 2020-05-14 13:25:46 -07:00