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 8DA8BFA3740 for ; Thu, 27 Oct 2022 12:26:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235512AbiJ0M0k (ORCPT ); Thu, 27 Oct 2022 08:26:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234330AbiJ0M0i (ORCPT ); Thu, 27 Oct 2022 08:26:38 -0400 Received: from mail-il1-x12a.google.com (mail-il1-x12a.google.com [IPv6:2607:f8b0:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 655AC132240 for ; Thu, 27 Oct 2022 05:26:37 -0700 (PDT) Received: by mail-il1-x12a.google.com with SMTP id z9so848486ilu.10 for ; Thu, 27 Oct 2022 05:26:37 -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:message-id:reply-to; bh=o1wSBNiDU0GbgrfKwJrfmSl/NSwx/oves1DkSf+koaQ=; b=fRsh+Iiat9ICr99/pvvkt4DO77T79TCbEs4IfZwDCZGrkZorR3lFh85IpVwbwgkrmv pefjZnPpc/SJIfFQR0weGpfMUZhzbPvegjGQcZHbE47IFtYUuJ8V/D0RWb8m3lXNDz2s wTgeBhzYeXD8aYm3mtRdDX4QkTQtaAhQJyBnjMXe+gJWauTPaXzW0VQ8MXLZdN68M1OM d7jAYLV1eD2ku0j41lRLnyMaRXcByOXRUGzz20VAowo/kYWVNqk/PZ2XLrHwSdZLnTru aTlaG5bh4zWkniGvTMbjPkyCb4PbjeorVmKfW0gzy7cGEWSz1wq9BpD7dRE7ppw/5ylK CRsA== 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:message-id :reply-to; bh=o1wSBNiDU0GbgrfKwJrfmSl/NSwx/oves1DkSf+koaQ=; b=k8UgMSH0OtwkQ7g0sKjcNwkG7uUJi6I6iSy87+wwEFjqU6DGgPGVBoGqLVW0w2KmQD SRz0+vTlUVZArJJVRV2/nIgdCHNIki7JWnd2j/TCBE8VUFmI9kLzmYeAQzEimnOdRZv8 VnRODC87EUFhriQkXV1LSbXoEfHGx/p5CgIscbLHDEu2j3JgC4cbfxsy5Y7y1wTKsEW9 RCA92V895cNhlSBukT6rQ/XS3ajGUUaeUFVO/+zr742/WjX0O6ugW5Vxxp3cGxFlMMCj ZAJCoQPCO5tHNsmymtYvqxCL8h7p4eXrr4E3qEdTZJO/f48hteLZkvVyU2O1ykJT2Ers vVYQ== X-Gm-Message-State: ACrzQf3+dZHxytmMgIhyPMW/g/p3GzNyyArM0WNkl/VAj1qbTjBB6WgL QP9Z9FuH3IHbTCc+R9WINDQZzw== X-Google-Smtp-Source: AMsMyM7EiDaMjRoM7RyMeuChZJy54dnBXY4F9h3eU5eB+F+7RN2Ydquq3D/2o0/qM75/w3EcM3hhmg== X-Received: by 2002:a05:6e02:1bc4:b0:300:61e9:69af with SMTP id x4-20020a056e021bc400b0030061e969afmr4605500ilv.191.1666873596710; Thu, 27 Oct 2022 05:26:36 -0700 (PDT) Received: from localhost.localdomain ([98.61.227.136]) by smtp.gmail.com with ESMTPSA id w24-20020a05663800d800b003566ff0eb13sm526528jao.34.2022.10.27.05.26.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Oct 2022 05:26:35 -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, andersson@kernel.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/7] net: ipa: start adding IPA v5.0 functionality Date: Thu, 27 Oct 2022 07:26:25 -0500 Message-Id: <20221027122632.488694-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 The biggest change for IPA v5.0 is that it supports more than 32 endpoints. However there are two other unrelated changes: - The STATS_TETHERING memory region is not required - Filter tables no longer support a "global" filter Beyond this, refactoring some code makes supporting more than 32 endpoints (in an upcoming series) easier. So this series includes a few other changes (not in this order): - The maximum endpoint ID in use is determined during config - Loops over all endpoints only involve those in use - Endpoints IDs and their directions are checked for validity differently to simplify comparison against the maximum -Alex Alex Elder (7): net: ipa: define IPA v5.0 net: ipa: change an IPA v5.0 memory requirement net: ipa: no more global filtering starting with IPA v5.0 net: ipa: more completely check endpoint validity net: ipa: refactor endpoint loops net: ipa: determine the maximum endpoint ID net: ipa: record and use the number of defined endpoint IDs drivers/net/ipa/ipa.h | 8 +- drivers/net/ipa/ipa_endpoint.c | 148 ++++++++++++++++++--------------- drivers/net/ipa/ipa_mem.c | 5 +- drivers/net/ipa/ipa_table.c | 59 +++++++------ drivers/net/ipa/ipa_version.h | 3 + 5 files changed, 128 insertions(+), 95 deletions(-) -- 2.34.1