]> www.infradead.org Git - users/jedix/linux-maple.git/commit
netdevice: add netdev_tx_reset_subqueue() shorthand
authorAlexander Lobakin <aleksander.lobakin@intel.com>
Wed, 4 Sep 2024 15:47:45 +0000 (17:47 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 9 Sep 2024 20:15:37 +0000 (13:15 -0700)
commit3dc95a3edd0a86b4a59670b3fafcc64c7d83e2e7
treeb6561b578bd859ad4cf88e47757bf80da002d50a
parentd9028db618a63e4bbe63eb56c0b0db2b4cb924bc
netdevice: add netdev_tx_reset_subqueue() shorthand

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: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Signed-off-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
include/linux/netdevice.h