If tsnep_tx_map() fails, then tsnep_tx_unmap() shall start at the write
index like tsnep_tx_map(). This is different to the normal operation.
Thus, add an additional parameter to tsnep_tx_unmap() to enable start at
different positions for successful TX and failed TX.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| tsnep.h | ||
| tsnep_ethtool.c | ||
| tsnep_hw.h | ||
| tsnep_main.c | ||
| tsnep_ptp.c | ||
| tsnep_selftests.c | ||
| tsnep_tc.c | ||