]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Merge branch 'macb-napi-improvements'
authorJakub Kicinski <kuba@kernel.org>
Wed, 11 May 2022 23:14:15 +0000 (16:14 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 11 May 2022 23:14:15 +0000 (16:14 -0700)
Robert Hancock says:

====================
MACB NAPI improvements

Simplify the logic in the Cadence MACB/GEM driver for determining
when to reschedule NAPI processing, and update it to use NAPI for the
TX path as well as the RX path.

Changes since v1: Changed to use separate TX and RX NAPI instances and
poll functions to avoid unnecessary checks of the other ring (TX/RX)
states during polling and to use budget handling for both RX and TX.
Fixed locking to protect against concurrent access to TX ring on
TX transmit and TX poll paths.
====================

Link: https://lore.kernel.org/r/20220509194635.3094080-1-robert.hancock@calian.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge