[PATCH net-next 0/4] net: ipa: don't use fixed table sizes

From: Alex Elder
Date: Tue Oct 25 2022 - 15:52:02 EST


Currently, routing and filter tables are assumed to have a fixed
size for all platforms. In fact, these tables can support many more
entries than what has been assumed; the only limitation is the size
of the IPA-resident memory regions that contain them.

This series rearranges things so that the size of the table is
determined from the memory region size defined in configuration
data, rather than assuming it is fixed.

This will required for IPA versions 5.0+, where the number of
entries in a routing table is larger.

-Alex

Alex Elder (4):
net: ipa: record the route table size in the IPA structure
net: ipa: determine route table size from memory region
net: ipa: don't assume 8 modem routing table entries
net: ipa: determine filter table size from memory region

drivers/net/ipa/data/ipa_data-v3.1.c | 19 ++++----
drivers/net/ipa/data/ipa_data-v3.5.1.c | 27 ++++++------
drivers/net/ipa/data/ipa_data-v4.11.c | 17 +++----
drivers/net/ipa/data/ipa_data-v4.2.c | 17 +++----
drivers/net/ipa/data/ipa_data-v4.5.c | 17 +++----
drivers/net/ipa/data/ipa_data-v4.9.c | 17 +++----
drivers/net/ipa/ipa.h | 6 +++
drivers/net/ipa/ipa_cmd.c | 21 ++++-----
drivers/net/ipa/ipa_data.h | 2 +
drivers/net/ipa/ipa_main.c | 6 +++
drivers/net/ipa/ipa_mem.c | 4 +-
drivers/net/ipa/ipa_qmi.c | 9 ++--
drivers/net/ipa/ipa_table.c | 61 ++++++++++++++------------
drivers/net/ipa/ipa_table.h | 13 +-----
14 files changed, 123 insertions(+), 113 deletions(-)

--
2.34.1