2022-10-27 13:09:51

by Alex Elder

[permalink] [raw]
Subject: [PATCH net-next 0/7] net: ipa: start adding IPA v5.0 functionality

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



2022-10-27 13:12:21

by Alex Elder

[permalink] [raw]
Subject: [PATCH net-next 1/7] net: ipa: define IPA v5.0

In preparation for adding support for IPA v5.0, define it as an
understood version.

Signed-off-by: Alex Elder <[email protected]>
---
drivers/net/ipa/ipa_version.h | 3 +++
1 file changed, 3 insertions(+)

diff --git a/drivers/net/ipa/ipa_version.h b/drivers/net/ipa/ipa_version.h
index 7870e0cc3d7c9..7889c310e943d 100644
--- a/drivers/net/ipa/ipa_version.h
+++ b/drivers/net/ipa/ipa_version.h
@@ -19,6 +19,7 @@
* @IPA_VERSION_4_7: IPA version 4.7/GSI version 2.7
* @IPA_VERSION_4_9: IPA version 4.9/GSI version 2.9
* @IPA_VERSION_4_11: IPA version 4.11/GSI version 2.11 (2.1.1)
+ * @IPA_VERSION_5_0: IPA version 5.0/GSI version 3.0
* @IPA_VERSION_COUNT: Number of defined IPA versions
*
* Defines the version of IPA (and GSI) hardware present on the platform.
@@ -36,6 +37,7 @@ enum ipa_version {
IPA_VERSION_4_7,
IPA_VERSION_4_9,
IPA_VERSION_4_11,
+ IPA_VERSION_5_0,
IPA_VERSION_COUNT, /* Last; not a version */
};

@@ -48,6 +50,7 @@ static inline bool ipa_version_supported(enum ipa_version version)
case IPA_VERSION_4_5:
case IPA_VERSION_4_9:
case IPA_VERSION_4_11:
+ case IPA_VERSION_5_0:
return true;
default:
return false;
--
2.34.1


2022-10-29 06:53:33

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH net-next 0/7] net: ipa: start adding IPA v5.0 functionality

Hello:

This series was applied to netdev/net-next.git (master)
by Jakub Kicinski <[email protected]>:

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!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html