Skip to content

net: ipa: start using transaction IDs

Alex Elder linux-arm-msm lkml netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesApplied 6/6

Patches in v1 All 6 applied

#Subject and filesSizeRepliesApplied
1/6net: ipa: rework last transaction determinationdrivers/net/ipa/gsi.c drivers/net/ipa/gsi_private.h drivers/net/ipa/gsi_trans.c+28 -360 repliesApplied
2/6net: ipa: use IDs for last allocated transactiondrivers/net/ipa/gsi.c+9 -30 repliesApplied
3/6net: ipa: use IDs exclusively for last transactiondrivers/net/ipa/gsi.c+27 -150 repliesApplied
4/6net: ipa: simplify gsi_channel_trans_last()drivers/net/ipa/gsi.c+7 -260 repliesApplied
5/6net: ipa: further simplify gsi_channel_trans_last()drivers/net/ipa/gsi.c+18 -280 repliesApplied
6/6net: ipa: verify a few more IDsdrivers/net/ipa/gsi_trans.c+43 -30 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/6] net: ipa: start using transaction IDs

A previous group of patches added ID fields to track the state of transactions:
https://lore.kernel.org/netdev/[email protected]

This series starts using those IDs instead of the lists used previously. Most of this series involves reworking the function that determines which transaction is the "last", which determines when a channel has been quiesed. The last patch is mainly used to prove that the new index method of tracking transaction state is equivalent to the previous use of lists.

-Alex

Alex Elder (6):
net: ipa: rework last transaction determination
net: ipa: use IDs for last allocated transaction
net: ipa: use IDs exclusively for last transaction
net: ipa: simplify gsi_channel_trans_last()
net: ipa: further simplify gsi_channel_trans_last()
net: ipa: verify a few more IDs

 drivers/net/ipa/gsi.c         | 53 +++++++++++----------------
 drivers/net/ipa/gsi_private.h | 14 ++++++++
 drivers/net/ipa/gsi_trans.c   | 68 ++++++++++++++++++++++-------------
 3 files changed, 78 insertions(+), 57 deletions(-)
Signature · 1 line
2.34.1