linux_dsm_epyc7002/drivers/net/ethernet/qlogic/qede
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 treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
qede_dcbnl.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 440 2019-06-05 17:37:17 +02:00
qede_ethtool.c net: qede: optional hw recovery procedure 2020-05-14 13:25:46 -07:00
qede_filter.c net: rename flow_action_hw_stats_types* -> flow_action_hw_stats* 2020-03-17 21:12:39 -07:00
qede_fp.c qlogic/qede: Add XDP frame size to driver 2020-05-14 21:21:55 -07:00
qede_main.c net: qed: fixes crash while running driver in kdump kernel 2020-06-05 13:20:16 -07:00
qede_ptp.c net: Introduce peer to peer one step PTP time stamping. 2019-12-25 19:51:34 -08:00
qede_ptp.h qede: Add support for PTP resource locking. 2017-04-27 16:51:34 -04:00
qede_rdma.c qede: Fix race between rdma destroy workqueue and link change event 2020-02-18 12:05:53 -08:00
qede.h net: qede: Implement ndo_tx_timeout 2020-05-14 13:25:46 -07:00