mbox series

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

Message ID 20221025195143.255934-1-elder@linaro.org
Headers show
Series net: ipa: don't use fixed table sizes | expand

Message

Alex Elder Oct. 25, 2022, 7:51 p.m. UTC
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(-)

Comments

patchwork-bot+netdevbpf@kernel.org Oct. 27, 2022, noon UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by Paolo Abeni <pabeni@redhat.com>:

On Tue, 25 Oct 2022 14:51:39 -0500 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [net-next,1/4] net: ipa: record the route table size in the IPA structure
    https://git.kernel.org/netdev/net-next/c/fc094058ce01
  - [net-next,2/4] net: ipa: determine route table size from memory region
    https://git.kernel.org/netdev/net-next/c/0439e6743c5c
  - [net-next,3/4] net: ipa: don't assume 8 modem routing table entries
    https://git.kernel.org/netdev/net-next/c/8defab8bdfb1
  - [net-next,4/4] net: ipa: determine filter table size from memory region
    https://git.kernel.org/netdev/net-next/c/f787d8483015

You are awesome, thank you!