Skip to content

net: ipa: start adding IPA v5.0 functionality

Alex Elder linux-arm-msm lkml netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew 6 of 7 applied

Patches in v1 6 of 7 applied

#Subject and filesSizeRepliesApplied
1/7net: ipa: define IPA v5.0drivers/net/ipa/ipa_version.h+3 -00 repliesApplied
2/7net: ipa: change an IPA v5.0 memory requirementdrivers/net/ipa/ipa_mem.c+4 -10 repliesApplied
3/7net: ipa: no more global filtering starting with IPA v5.0drivers/net/ipa/ipa_table.c+35 -240 repliesApplied
4/7net: ipa: more completely check endpoint validitydrivers/net/ipa/ipa_endpoint.c+37 -300 replies
5/7net: ipa: refactor endpoint loopsdrivers/net/ipa/ipa_endpoint.c+6 -60 repliesApplied
6/7net: ipa: determine the maximum endpoint IDdrivers/net/ipa/ipa.h drivers/net/ipa/ipa_endpoint.c+39 -340 repliesApplied
7/7net: ipa: record and use the number of defined endpoint IDsdrivers/net/ipa/ipa.h drivers/net/ipa/ipa_endpoint.c+7 -30 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [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(-)
Signature · 1 line
2.34.1