diff options
author | Alexander Lobakin <alobakin@marvell.com> | 2020-06-23 16:51:34 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-23 15:01:16 -0700 |
commit | 1c85f394c2206ea3835f43534d5675f0574e1b70 (patch) | |
tree | 94b1427f946149e7e76b331cfc01918881a00a53 /drivers/net/ethernet/qlogic/qed/qed_cxt.c | |
parent | net: qed: fix excessive QM ILT lines consumption (diff) | |
download | wireguard-linux-1c85f394c2206ea3835f43534d5675f0574e1b70.tar.xz wireguard-linux-1c85f394c2206ea3835f43534d5675f0574e1b70.zip |
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: ccc67ef50b90 ("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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions