lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221025195143.255934-1-elder@linaro.org>
Date:   Tue, 25 Oct 2022 14:51:39 -0500
From:   Alex Elder <elder@...aro.org>
To:     davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
        pabeni@...hat.com
Cc:     mka@...omium.org, evgreen@...omium.org, andersson@...nel.org,
        quic_cpratapa@...cinc.com, quic_avuyyuru@...cinc.com,
        quic_jponduru@...cinc.com, quic_subashab@...cinc.com,
        elder@...nel.org, netdev@...r.kernel.org,
        linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH net-next 0/4] net: ipa: don't use fixed table sizes

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ