linux/drivers/net/ethernet/qlogic/qede
Alexander Lobakin 1c85f394c2 net: qede: fix PTP initialization on recovery
Currently PTP cyclecounter and timecounter are initialized only on
the first probing and are cleaned up during removal. This means that
PTP becomes non-functional after device recovery.
Fix this by unconditional PTP initialization on probing and clearing
Tx pending bit on exiting.

Fixes: ccc67ef50b ("qede: Error recovery process")
Signed-off-by: Alexander Lobakin <alobakin@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-06-23 15:01: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: qede: fix PTP initialization on recovery 2020-06-23 15:01:16 -07:00
qede_ptp.c net: qede: fix PTP initialization on recovery 2020-06-23 15:01:16 -07:00
qede_ptp.h net: qede: fix PTP initialization on recovery 2020-06-23 15:01:16 -07:00
qede_rdma.c net: qede: stop adding events on an already destroyed workqueue 2020-06-23 15:01:16 -07:00
qede.h net: qede: Implement ndo_tx_timeout 2020-05-14 13:25:46 -07:00