linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/5] net: ipa: NAPI poll updates
@ 2021-01-21 11:48 Alex Elder
  2021-01-21 11:48 ` [PATCH net-next v2 1/5] net: ipa: count actual work done in gsi_channel_poll() Alex Elder
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Alex Elder @ 2021-01-21 11:48 UTC (permalink / raw)
  To: davem, kuba
  Cc: elder, evgreen, bjorn.andersson, cpratapa, subashab, netdev,
	linux-kernel

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-01-23 21:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-21 11:48 [PATCH net-next v2 0/5] net: ipa: NAPI poll updates Alex Elder
2021-01-21 11:48 ` [PATCH net-next v2 1/5] net: ipa: count actual work done in gsi_channel_poll() Alex Elder
2021-01-21 11:48 ` [PATCH net-next v2 2/5] net: ipa: heed napi_complete() return value Alex Elder
2021-01-21 11:48 ` [PATCH net-next v2 3/5] net: ipa: have gsi_channel_update() return a value Alex Elder
2021-01-21 11:48 ` [PATCH net-next v2 4/5] net: ipa: repurpose gsi_irq_ieob_disable() Alex Elder
2021-01-21 11:48 ` [PATCH net-next v2 5/5] net: ipa: disable IEOB interrupts before clearing Alex Elder
2021-01-23 21:20 ` [PATCH net-next v2 0/5] net: ipa: NAPI poll updates patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).