[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220921180152.002dea73@kernel.org>
Date: Wed, 21 Sep 2022 18:01:52 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Gerhard Engleder <gerhard@...leder-embedded.com>
Cc: davem@...emloft.net, robh+dt@...nel.org, netdev@...r.kernel.org,
devicetree@...r.kernel.org
Subject: Re: [PATCH net-next 7/7] tsnep: Rework RX buffer allocation
On Thu, 15 Sep 2022 22:36:37 +0200 Gerhard Engleder wrote:
> Try to refill RX queue continously instead of dropping frames if
> allocation fails. This seems to be the more common pattern for network
> drivers and makes future XDP support simpler.
Is there anything preventing the queue from becoming completely empty
and potentially never getting refilled?
The lazy refill usually comes with some form of a watchdog / periodic
depletion check.
Powered by blists - more mailing lists