A previous group of patches added ID fields to track the state of transactions: https://lore.kernel.org/netdev/20220831224017.377745-1-elder@xxxxxxxxxx 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(-) -- 2.34.1