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 A4B18CCA473 for ; Wed, 15 Jun 2022 16:59:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353677AbiFOQ7k (ORCPT ); Wed, 15 Jun 2022 12:59:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349991AbiFOQ7f (ORCPT ); Wed, 15 Jun 2022 12:59:35 -0400 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A32D2E686 for ; Wed, 15 Jun 2022 09:59:33 -0700 (PDT) Received: by mail-pl1-x62e.google.com with SMTP id f8so10907406plo.9 for ; Wed, 15 Jun 2022 09:59:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=TgYasgJyDkLKxGP7tFRjaW6ZIrdHuMDeEyRzo2a6X1Q=; b=gnmHEB9YtHSr56xHMm+Ju6lUiJNhW1rHa8GBLrPRWPAKDMVAH23PB6WOAVuUtiEyDn UkSMu1knR7p2h8iUbFoq+px2Oipj3Ep7zqXuNY1eAoL1Qk5WQnKsYclgY3ZunxMdEEmO pw5998B9AhlvSn2Q82yKmOzxD0rD6dOq9sjSLFnLr4j5aba5+5aY99Q7KjeagLLeEDX3 QZzmCuBMtpj2NS1K0WnuqzUfFOzi7Z9GpkoF2cgglcA40uc4Sl8/CqNct3HdOEAe4OuV rzMgmQlP8UGyA7KdX5/5Pt4ob+KcVBCz3gvvl2Oh78LGcHvCPB+rKIwaFU7NkTXkjpIH SOkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=TgYasgJyDkLKxGP7tFRjaW6ZIrdHuMDeEyRzo2a6X1Q=; b=am249hQtbOFPQM+BZTN3krQJzDPXK6749XX6/MfYdv077K5mFDbosQrl0WIzCdHLbV l+pcfcTvDK/O5Ly0Np2ZZVTrgNdHCVXRCx/a9IqFQnsXyK07lePyqKbC4mcAWcXwWkhI AFgtcxhC4EfvnwCFsNVNX+f0B2EP1cGXBe+JxQDdK58FFDCArPnh5UxBjDSwvby1ClVv +N8mHjKxqV1hVbtdM7V931Mtt0jzUJl4rxPaPfisNPE8UISzgTERxlSynzvseJ7tHBxF 5dC99fAqs9gAhWqAUrsKuscE02ZUB3KluOZWqQ2bmdk9Ato//W6BrBb8477BSImSB1aO FLmA== X-Gm-Message-State: AJIora+wmNUb3p9OMYwteIElf/gF9vz8u7SWCf66gT0cM10E2VcEDUMq 7hAtdRfV+jbLl7Z164Q9oRCIBg== X-Google-Smtp-Source: AGRyM1tnLfxVY9k3xmR/MfAeKNGvzGPQaEJLVgW4JQvZSmUXpNi8brcF++WTTbZZTcGSrY4lVeQTgg== X-Received: by 2002:a17:902:b714:b0:168:f72d:b8d5 with SMTP id d20-20020a170902b71400b00168f72db8d5mr519478pls.66.1655312372688; Wed, 15 Jun 2022 09:59:32 -0700 (PDT) Received: from localhost.localdomain ([192.77.111.2]) by smtp.gmail.com with ESMTPSA id s194-20020a6377cb000000b003fd1111d73csm10618513pgc.4.2022.06.15.09.59.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jun 2022 09:59:32 -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/5] net: ipa: more multi-channel event ring work Date: Wed, 15 Jun 2022 11:59:24 -0500 Message-Id: <20220615165929.5924-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: netdev@vger.kernel.org This series makes a little more progress toward supporting multiple channels with a single event ring. The first removes the assumption that consecutive events are associated with the same RX channel. The second derives the channel associated with an event from the event itself, and the next does a small cleanup enabled by that. The fourth causes updates to occur for every event processed (rather once). And the final patch does a little more rework to make TX completion have more in common with RX completion. -Alex Alex Elder (5): net: ipa: don't assume one channel per event ring net: ipa: don't pass channel when mapping transaction net: ipa: pass GSI pointer to gsi_evt_ring_rx_update() net: ipa: call gsi_evt_ring_rx_update() unconditionally net: ipa: move more code out of gsi_channel_update() drivers/net/ipa/gsi.c | 59 +++++++++++++++++++---------------- drivers/net/ipa/gsi_private.h | 3 -- drivers/net/ipa/gsi_trans.c | 28 +++++------------ 3 files changed, 40 insertions(+), 50 deletions(-) -- 2.34.1