mirror of
https://github.com/torvalds/linux.git
synced 2026-04-24 09:35:52 -04:00
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>
This commit is contained in:
@@ -222,6 +222,7 @@ struct ipa_power_data {
|
||||
* @backward_compat: BCR register value (prior to IPA v4.5 only)
|
||||
* @qsb_count: number of entries in the qsb_data array
|
||||
* @qsb_data: Qualcomm System Bus configuration data
|
||||
* @modem_route_count: number of modem entries in a routing table
|
||||
* @endpoint_count: number of entries in the endpoint_data array
|
||||
* @endpoint_data: IPA endpoint/GSI channel data
|
||||
* @resource_data: IPA resource configuration data
|
||||
@@ -233,6 +234,7 @@ struct ipa_data {
|
||||
u32 backward_compat;
|
||||
u32 qsb_count; /* number of entries in qsb_data[] */
|
||||
const struct ipa_qsb_data *qsb_data;
|
||||
u32 modem_route_count;
|
||||
u32 endpoint_count; /* number of entries in endpoint_data[] */
|
||||
const struct ipa_gsi_endpoint_data *endpoint_data;
|
||||
const struct ipa_resource_data *resource_data;
|
||||
|
||||
Reference in New Issue
Block a user