diff options
| author | Pavan Chebbi <[email protected]> | 2024-04-05 23:55:13 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2024-04-08 12:55:47 +0000 |
| commit | faa12ca245585379d612736a4b5e98e88481ea59 (patch) | |
| tree | a12730640bebe48acaf05e62d82617bdd3cc53cb /net/unix/af_unix.c | |
| parent | bnxt_en: Fix error recovery for RoCE ulp client (diff) | |
| download | kernel-faa12ca245585379d612736a4b5e98e88481ea59.tar.gz kernel-faa12ca245585379d612736a4b5e98e88481ea59.zip | |
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 <[email protected]>
Signed-off-by: Pavan Chebbi <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
