diff options
author | Alex Elder <elder@linaro.org> | 2022-10-25 14:51:42 -0500 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-10-27 13:38:13 +0200 |
commit | 8defab8bdfb1d0dc4e4e3c687cfde33b596896f7 (patch) | |
tree | 85c48dbef4b39839cc5f0fc1af63ca4c52b37cfe /drivers/net/ipa/data/ipa_data-v4.11.c | |
parent | net: ipa: determine route table size from memory region (diff) | |
download | wireguard-linux-8defab8bdfb1d0dc4e4e3c687cfde33b596896f7.tar.xz wireguard-linux-8defab8bdfb1d0dc4e4e3c687cfde33b596896f7.zip |
net: ipa: don't assume 8 modem routing table entries
Currently all platforms are assumed allot 8 routing table entries
for use by the modem. Instead, add a new configuration data entry
that defines the number of modem routing table entries, and record
that in the IPA structure.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ipa/data/ipa_data-v4.11.c')
-rw-r--r-- | drivers/net/ipa/data/ipa_data-v4.11.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/drivers/net/ipa/data/ipa_data-v4.11.c b/drivers/net/ipa/data/ipa_data-v4.11.c index a204e439c23d..1b4b52501ee3 100644 --- a/drivers/net/ipa/data/ipa_data-v4.11.c +++ b/drivers/net/ipa/data/ipa_data-v4.11.c @@ -394,12 +394,13 @@ static const struct ipa_power_data ipa_power_data = { /* Configuration data for an SoC having IPA v4.11 */ const struct ipa_data ipa_data_v4_11 = { - .version = IPA_VERSION_4_11, - .qsb_count = ARRAY_SIZE(ipa_qsb_data), - .qsb_data = ipa_qsb_data, - .endpoint_count = ARRAY_SIZE(ipa_gsi_endpoint_data), - .endpoint_data = ipa_gsi_endpoint_data, - .resource_data = &ipa_resource_data, - .mem_data = &ipa_mem_data, - .power_data = &ipa_power_data, + .version = IPA_VERSION_4_11, + .qsb_count = ARRAY_SIZE(ipa_qsb_data), + .qsb_data = ipa_qsb_data, + .modem_route_count = 8, + .endpoint_count = ARRAY_SIZE(ipa_gsi_endpoint_data), + .endpoint_data = ipa_gsi_endpoint_data, + .resource_data = &ipa_resource_data, + .mem_data = &ipa_mem_data, + .power_data = &ipa_power_data, }; |