On Tue, Nov 24, 2026 at 09:43:10AM -0800, Dimitri Daskalakis wrote:
> On 11/24/26 4:33 AM, netd…@kernel.org wrote:
...
> > [Severity: Low] > > This isn't a bug, but the commit message only talks about adding a new > > helper: > > > > Add a helper like netif_tx_disable() (which drivers commonly use > > when stopping the interface) but for one queue. > > > > It doesn't say that netif_tx_disable() itself is rewritten here. > > > > The old body disabled BH once, read smp_processor_id() once, and used > > __netif_tx_lock(txq, cpu) for each queue. The new body uses > > spin_lock_bh(&dev->tx_global_lock) and calls netif_disable_subqueue() > > for each queue. That helper does its own nested > > __netif_tx_lock_bh()/__netif_tx_unlock_bh(), and it takes the queue > > index as u16 rather than the unsigned int loop counter. > > > > As far as I can tell the behavior is unchanged. Still, every driver > > calling netif_tx_disable() on its stop path picks up this change. > > > > Could the commit log mention the conversion? Something like "Convert > > netif_tx_disable() to use the new helper, no functional change > > intended." would be enough. > >
> > If this series needs a re-spin, I'll address the change in the commit msg.
TBH, I think the commit message is completely fine as-is. It states the intent of the patch. And the implementation details are clear enough on examination of the code. Reviewed-by: Simon Horman <hor…@kernel.org>