On Thu, 1 Aug 2024 at 15:07, Jim Shu <jim....@sifive.com> wrote: > > Currently, txlen is always decremented to 0 before filling to the > descriptor. Keep the origin txlen value to have the correct value of > descriptor status field. > > It will fix the 'tx_bytes' statistic value in linux axi-ethernet driver. > > Signed-off-by: Jim Shu <jim....@sifive.com> > ---
Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> thanks -- PMM