qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 1/3] hw/dma: xilinx_axidma: Correct the txlen value in the


From: Peter Maydell
Subject: Re: [PATCH v2 1/3] hw/dma: xilinx_axidma: Correct the txlen value in the descriptor
Date: Thu, 8 Aug 2024 14:21:53 +0100

On Thu, 1 Aug 2024 at 15:07, Jim Shu <jim.shu@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.shu@sifive.com>
> ---

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]