[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231113175222.674a3971@kernel.org>
Date: Mon, 13 Nov 2023 17:52:22 -0500
From: Jakub Kicinski <kuba@...nel.org>
To: Baruch Siach <baruch@...s.co.il>
Cc: Alexandre Torgue <alexandre.torgue@...s.st.com>, Jose Abreu
<joabreu@...opsys.com>, netdev@...r.kernel.org
Subject: Re: [PATCH net 2/2] net: stmmac: avoid rx queue overrun
On Mon, 13 Nov 2023 19:42:50 +0200 Baruch Siach wrote:
> dma_rx_size can be set as low as 64. Rx budget might be higher than
> that. Make sure to not overrun allocated rx buffers when budget is
> larger.
>
> Leave one descriptor unused to avoid wrap around of 'dirty_rx' vs
> 'cur_rx'.
Can we get a Fixes tag for this one as well?
Powered by blists - more mailing lists