]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4b32698a371ce09c2f69831f8872bcd63750818f
tree7949bca39c9a6892f92ca768986cf6756c5bcc21
parentfacd1f0e7877baf2df3ba647cd7701b6546e0f14
parent79a8f9d0f08314b6993f9a6a2ceca828cb95c417
Merge branch 'macb-napi-improvements'

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>