From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 54CF5C6FA82 for ; Fri, 2 Sep 2022 21:02:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230469AbiIBVC1 (ORCPT ); Fri, 2 Sep 2022 17:02:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230449AbiIBVCX (ORCPT ); Fri, 2 Sep 2022 17:02:23 -0400 Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFBD4B4E84 for ; Fri, 2 Sep 2022 14:02:22 -0700 (PDT) Received: by mail-io1-xd2c.google.com with SMTP id r141so2659951iod.4 for ; Fri, 02 Sep 2022 14:02:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=ZPui7nz2t/JidoBEB5DJqHDb5B0r6Z1+2ugl0ACPk+s=; b=WS6+Z/enNrHKG2vyzj7Rd6uVC79M2MrNYm1UV5AuT9S9S2WBS516zxqhG2nPuyAdSA 1tvF7rPqGNB0Vwg8HYjzOFSVs1L3C6nDYK6JW1WD5a9YrwFk82qqqDGJaQfCOU0N/D4a ShN/tsSwSiGgagbYX3iz5X+vDtwOvmZO3i4hdlYuvYK4x/s5e4GZWYctkfoAI7enWVN7 AMIpsH2BrAHQgGXeQR0R/SN47XNSE5BT26yiMUj8+CeBVvnLNKqDl/kTWHBv9xjfl1r8 paaYqfWl/XO+qocuQRxsv7Drt+gWkAwpf76bdrzEEzHG6i50DNXayRGuuAYj3p1VnabE MCmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=ZPui7nz2t/JidoBEB5DJqHDb5B0r6Z1+2ugl0ACPk+s=; b=mx461NF5M8LRdWqXrzugfaVUpaMb6zg6XagxB/GjprW05gNuZhYxFhDniLh4P8uk4+ QzU38yYenrLkO1apuEH4yk/jOQLybD3y9CEuOgAlj+SwZRV4YjlG7gnbL7OdqgZQ2Tg+ ASHE+qT2N7GaRDtlbgimH4/RfPebo+STFILMFYMK3/aFyfu04d5abMXLJ/wtUBqWj5cJ odQQgnavfclH1OyOkQ4TEBCKQ6S4Nj/upHELqdcj8e76Ncg1XY76i01irJrFQkeCW+8W tEKiJpWvW6yyFQkrpaiZ1Dt6MXCh7NDcDp2XV4l7ARmPeb4DCtJkTB9wqR+pxPDmtzrd 9wZA== X-Gm-Message-State: ACgBeo0GAcNtz92Au/SOK+97NAJ2LeSG5UN0oA+lRaYuJ6uq839CobHX IhdIgQGfZO1Rt6ogpQpEnkmlLQ== X-Google-Smtp-Source: AA6agR5aLVePYhKwuT74x+sX+QCC/FdUuQxIw4dmkdz9/ni8Xn3uI6Od1OobvS1PyfI0yq/kr4BwtA== X-Received: by 2002:a05:6638:3047:b0:341:de2b:e489 with SMTP id u7-20020a056638304700b00341de2be489mr20991527jak.273.1662152541983; Fri, 02 Sep 2022 14:02:21 -0700 (PDT) Received: from presto.localdomain ([98.61.227.136]) by smtp.gmail.com with ESMTPSA id i7-20020a0566022c8700b00689e718d971sm1259208iow.51.2022.09.02.14.02.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Sep 2022 14:02:21 -0700 (PDT) From: Alex Elder To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: mka@chromium.org, evgreen@chromium.org, bjorn.andersson@linaro.org, quic_cpratapa@quicinc.com, quic_avuyyuru@quicinc.com, quic_jponduru@quicinc.com, quic_subashab@quicinc.com, elder@kernel.org, netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next 0/6] net: ipa: start using transaction IDs Date: Fri, 2 Sep 2022 16:02:12 -0500 Message-Id: <20220902210218.745873-1-elder@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A previous group of patches added ID fields to track the state of transactions: https://lore.kernel.org/netdev/20220831224017.377745-1-elder@linaro.org 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