mbox series

[net-next,v2,0/5] net: ipa: NAPI poll updates

Message ID 20210121114821.26495-1-elder@linaro.org
Headers show
Series net: ipa: NAPI poll updates | expand

Message

Alex Elder Jan. 21, 2021, 11:48 a.m. UTC
Version 1 of this series inadvertently dropped the "static" that
limits the scope of gsi_channel_update().  Version 2 fixes this
(in patch 3).

While reviewing the IPA NAPI polling code in detail I found two
problems.  This series fixes those, and implements a few other
improvements to this part of the code.

The first two patches are minor bug fixes that avoid extra passes
through the poll function.  The third simplifies code inside the
polling loop a bit.

The last two update how interrupts are disabled; previously it was
possible for another I/O completion condition to be recorded before
NAPI got scheduled.

					-Alex


Alex Elder (5):
  net: ipa: count actual work done in gsi_channel_poll()
  net: ipa: heed napi_complete() return value
  net: ipa: have gsi_channel_update() return a value
  net: ipa: repurpose gsi_irq_ieob_disable()
  net: ipa: disable IEOB interrupts before clearing

 drivers/net/ipa/gsi.c | 41 +++++++++++++++++++++--------------------
 1 file changed, 21 insertions(+), 20 deletions(-)

-- 
2.20.1

Comments

patchwork-bot+netdevbpf@kernel.org Jan. 23, 2021, 9:20 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Thu, 21 Jan 2021 05:48:16 -0600 you wrote:
> Version 1 of this series inadvertently dropped the "static" that

> limits the scope of gsi_channel_update().  Version 2 fixes this

> (in patch 3).

> 

> While reviewing the IPA NAPI polling code in detail I found two

> problems.  This series fixes those, and implements a few other

> improvements to this part of the code.

> 

> [...]


Here is the summary with links:
  - [net-next,v2,1/5] net: ipa: count actual work done in gsi_channel_poll()
    https://git.kernel.org/netdev/net-next/c/c80c4a1ea47f
  - [net-next,v2,2/5] net: ipa: heed napi_complete() return value
    https://git.kernel.org/netdev/net-next/c/148604e7eafb
  - [net-next,v2,3/5] net: ipa: have gsi_channel_update() return a value
    https://git.kernel.org/netdev/net-next/c/223f5b34b409
  - [net-next,v2,4/5] net: ipa: repurpose gsi_irq_ieob_disable()
    https://git.kernel.org/netdev/net-next/c/5725593e6f18
  - [net-next,v2,5/5] net: ipa: disable IEOB interrupts before clearing
    https://git.kernel.org/netdev/net-next/c/7bd9785f683a

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html