diff options
author | Pavan Chebbi <pavan.chebbi@broadcom.com> | 2024-04-05 16:55:13 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-04-08 13:55:47 +0100 |
commit | faa12ca245585379d612736a4b5e98e88481ea59 (patch) | |
tree | a12730640bebe48acaf05e62d82617bdd3cc53cb /arch/x86/include/asm | |
parent | b5ea7d33ba2a42b95b4298d08d2af9cdeeaf0090 (diff) |
bnxt_en: Reset PTP tx_avail after possible firmware reset
It is possible that during error recovery and firmware reset,
there is a pending TX PTP packet waiting for the timestamp.
We need to reset this condition so that after recovery, the
tx_avail count for PTP is reset back to the initial value.
Otherwise, we may not accept any PTP TX timestamps after
recovery.
Fixes: 118612d519d8 ("bnxt_en: Add PTP clock APIs, ioctls, and ethtool methods")
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/x86/include/asm')
0 files changed, 0 insertions, 0 deletions