Commit 37063539 authored by Alexander Lobakin's avatar Alexander Lobakin Committed by Greg Kroah-Hartman
Browse files

netdevice: add netdev_tx_reset_subqueue() shorthand



[ Upstream commit 3dc95a3e ]

Add a shorthand similar to other net*_subqueue() helpers for resetting
the queue by its index w/o obtaining &netdev_tx_queue beforehand
manually.

Reviewed-by: default avatarPrzemek Kitszel <przemyslaw.kitszel@intel.com>
Signed-off-by: default avatarAlexander Lobakin <aleksander.lobakin@intel.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
Stable-dep-of: 4db6c751 ("net: ethernet: mtk_eth_soc: reset all TX queues on DMA free")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent fa1fe9f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment