diff options
| author | Raju Rangoju <[email protected]> | 2023-11-22 00:44:34 +0530 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2023-11-23 13:47:23 +0100 |
| commit | 7121205d5330c6a3cb3379348886d47c77b78d06 (patch) | |
| tree | 49f309b3c9c1c8d8e62a6d384a619971069f66ce /drivers/message/fusion/lsi/mpi_raid.h | |
| parent | 676ec53844cbdf2f47e68a076cdff7f0ec6cbe3f (diff) | |
amd-xgbe: handle the corner-case during tx completion
The existing implementation uses software logic to accumulate tx
completions until the specified time (1ms) is met and then poll them.
However, there exists a tiny gap which leads to a race between
resetting and checking the tx_activate flag. Due to this the tx
completions are not reported to upper layer and tx queue timeout
kicks-in restarting the device.
To address this, introduce a tx cleanup mechanism as part of the
periodic maintenance process.
Fixes: c5aa9e3b8156 ("amd-xgbe: Initial AMD 10GbE platform driver")
Acked-by: Shyam Sundar S K <[email protected]>
Signed-off-by: Raju Rangoju <[email protected]>
Reviewed-by: Wojciech Drewek <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/message/fusion/lsi/mpi_raid.h')
0 files changed, 0 insertions, 0 deletions