[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241103143700.3ce70273@kernel.org>
Date: Sun, 3 Nov 2024 14:37:00 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Suraj Gupta <suraj.gupta2@....com>
Cc: <radhey.shyam.pandey@....com>, <andrew+netdev@...n.ch>,
<davem@...emloft.net>, <edumazet@...gle.com>, <pabeni@...hat.com>,
<michal.simek@....com>, <netdev@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
<git@....com>, <harini.katakam@....com>
Subject: Re: [PATCH net 2/2] net: xilinx: axienet: Check if Tx queue enabled
On Wed, 30 Oct 2024 11:55:33 +0530 Suraj Gupta wrote:
> Check return value of netif_txq_maybe_stop() in transmit
> direction and start dma engine only if queue is enabled.
The first patch makes sense, let me apply that one.
But this one I don't understand - what is the problem you're trying
to fix? netif_txq_maybe_stop() tries to stop the queue if the *next*
packet may not fit in the queue. The currently processed packet is
assumed to have already been queued.
Powered by blists - more mailing lists