]> 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)
commita7af5f813b25745438532a9511a8a5c84cc6e0d9
tree7949bca39c9a6892f92ca768986cf6756c5bcc21
parentb6bfddf55ba666acf611cf79840b60cc2ffeb4a5
parent917adea31ce26319629a30f14526f24e33688c4c
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>