Message ID | 20221027122632.488694-1-elder@linaro.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp199815wru; Thu, 27 Oct 2022 05:27:25 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6u9w0cdviR8kv60xnhDJIz0AEF2p3iWSVyClebwkXYrUFZIhI8e+Addenirb76o/Ua3X67 X-Received: by 2002:a17:907:2d8a:b0:78d:4448:e96c with SMTP id gt10-20020a1709072d8a00b0078d4448e96cmr41355453ejc.199.1666873645302; Thu, 27 Oct 2022 05:27:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666873645; cv=none; d=google.com; s=arc-20160816; b=P1iAsOdSVWTIcTV/wlb2g3nEuJMqfw7ZP6jXlTa89NDvQePBtLau4xUTMnCQR+qhXR 2M9E6QCO+9TbbB2z8miBgSQjJwlJR8Ns1glR3zl+fVm5zous8LOaxAHoroQa1yam0kge hyPfbDewREc3a+Hzn3VscI3bNDK/jMgn4q6XT+FtPUUkKTv8Cu1d6yqUZk+fL6wt8NTQ 6gP7XfjX2blZIneMl4VljJ5mqHpnimPKnaOgeVvjGwI+C04VPH2uKz5CfYEtTq3NMItS KbMuuRJxFEfa2jh4ZnVnogTKAJQNF+Jb9aBRGLxDV3h8U0VdviNQETlBjKCfzdibJ887 01TQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=o1wSBNiDU0GbgrfKwJrfmSl/NSwx/oves1DkSf+koaQ=; b=st3he+lRkK98BBhBU+LbLjxl1Rwbe/3HbOrYIx11vkFifXm5QE0UONgSL626tFUEtv UnB+ny3slX/e4WLXnFn8dy+R6OhdjuOLv4twz9ZtpME/ZZCGcGmuXnvJPjWeCbWsoE76 aKqWFSlLhDq4Ud9tod8OusjW4qjNihO9QkcHrn5DCLlPlOCwgiJ9oZbj7DbTcGbXAfBL c9XVLjEBfVSNrLt931CYAYtauscptYVbSqNkXCnZQfBD1sJTzYDq1aZV1xV9bic0yZMR MaM2zkN3OYE+tpgvsAVGFuRcV2yvgjZtlM4HtcWjbVIzH8Z7rOlyxEjm7xIOsjnI+nW2 WXtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fRsh+Iia; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h23-20020a1709067cd700b00787803711f9si1155178ejp.353.2022.10.27.05.26.59; Thu, 27 Oct 2022 05:27:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fRsh+Iia; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235548AbiJ0M0k (ORCPT <rfc822;chrisfriedt@gmail.com> + 99 others); Thu, 27 Oct 2022 08:26:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233884AbiJ0M0i (ORCPT <rfc822;linux-kernel@vger.kernel.org>); 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 72841134AB3 for <linux-kernel@vger.kernel.org>; Thu, 27 Oct 2022 05:26:37 -0700 (PDT) Received: by mail-il1-x12a.google.com with SMTP id o2so848541ilo.8 for <linux-kernel@vger.kernel.org>; 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=luCjxCmsA73dkC/1XQuUFDmMtWHEULBttNu4YuiuRw7osMuWiSjfksWXkWm9GCBfWp jpxsD40V1l5Dse2KTibf8zers/ZtZbwlXlRP49lr8TKbZtTtmXJ2Ua1cag7kTS5csj/n kRvC3s7dhciXMXmJTTM7gfP+qomyXACDJvn6BAET8Z3jQSgEwkkwxuYQw3+exAn0YvCi c9vIM9MAP56rbs5OSaHIoLz+XYT7PZTNnm40HihH2ugGYfRqCQEduZUoGHTq+CWRN/cu kiz/fu8236Ca1S5WeQrDrjoR0xkmOLV0HbFgflMil83a7P02/yNfSRCRbI2oTGkBpJzs w3DA== X-Gm-Message-State: ACrzQf2yft4XxvrsX98zdb2J05Z+3Rm7edCa0uLXWsThGolzG9rLMcYb 9fvEq9Y84ysdREVa2LwjRV+28ZRyBcq2JA== 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 <elder@linaro.org> 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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747843699348612111?= X-GMAIL-MSGID: =?utf-8?q?1747843699348612111?= |
Series |
net: ipa: start adding IPA v5.0 functionality
|
|
Message
Alex Elder
Oct. 27, 2022, 12:26 p.m. UTC
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(-)
Comments
Hello: This series was applied to netdev/net-next.git (master) by Jakub Kicinski <kuba@kernel.org>: On Thu, 27 Oct 2022 07:26:25 -0500 you wrote: > 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 > > [...] Here is the summary with links: - [net-next,1/7] net: ipa: define IPA v5.0 https://git.kernel.org/netdev/net-next/c/5783c68a2519 - [net-next,2/7] net: ipa: change an IPA v5.0 memory requirement https://git.kernel.org/netdev/net-next/c/5ba5faa2e271 - [net-next,3/7] net: ipa: no more global filtering starting with IPA v5.0 https://git.kernel.org/netdev/net-next/c/bd5524930ba7 - [net-next,4/7] net: ipa: more completely check endpoint validity (no matching commit) - [net-next,5/7] net: ipa: refactor endpoint loops https://git.kernel.org/netdev/net-next/c/e359ba89a4aa - [net-next,6/7] net: ipa: determine the maximum endpoint ID https://git.kernel.org/netdev/net-next/c/5274c7158b2b - [net-next,7/7] net: ipa: record and use the number of defined endpoint IDs https://git.kernel.org/netdev/net-next/c/b7aaff0b010e You are awesome, thank you!