Subject: 回复: 回复: [PATCH] net: stmmac: enable MAC after MTL configuring

From: Fan Hailong/范海龙 <[email-masked]>
Date: Sun, 20 Oct 2024 01:45:41 +0000

Hi 

Please find new patch in attachments, thanks.

-----邮件原件-----
发件人: Andrew Lunn <[email-masked]> 
发送时间: 2024年10月19日 1:57
收件人: Fan Hailong/范海龙 <[email-masked]>
抄送: Simon Horman <[email-masked]>; [email-masked]; [email-masked]; [email-masked]; [email-masked]; [email-masked]; [email-masked]; [email-masked]; [email-masked]; [email-masked]; [email-masked]; [email-masked]; [email-masked]
主题: Re: 回复: [PATCH] net: stmmac: enable MAC after MTL configuring

On Fri, Oct 18, 2024 at 01:15:30AM +0000, Fan Hailong/范海龙 wrote:
> Hi
> 
> For example, ETH is directly connected to the switch, which never power down and sends broadcast packets at regular intervals. 
> During the process of opening ETH, data may flow into the MTL FIFO, once MAC RX is enabled.
> and then, MTL will be set, such as FIFO size. 
> Once enable DMA, There is a certain probability that DMA will read incorrect data from MTL FIFO, causing DMA to hang up. 
> By read DMA_Debug_Status, you can be observed that the RPS remains at a certain value forever. 
> The correct process should be to configure MAC/MTL/DMA before enabling DMA/MAC

What Simon is asking for is that this is part of the commit message.

Please also don't top post.

    Andrew

---
pw-bot: cr