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

From: Alex Elder
Date: Thu Oct 27 2022 - 08:26:44 EST


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