[PATCH net 2/2] net: xilinx: axienet: Check if Tx queue enabled

Jakub Kicinski kuba at kernel.org
Sun Nov 3 14:37:00 PST 2024


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.



More information about the linux-arm-kernel mailing list