diff options
author | Alex Elder <elder@linaro.org> | 2022-10-25 22:51:42 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-10-27 14:38:13 +0300 |
commit | 8defab8bdfb1d0dc4e4e3c687cfde33b596896f7 (patch) | |
tree | 85c48dbef4b39839cc5f0fc1af63ca4c52b37cfe /drivers/net/ipa/ipa_table.h | |
parent | 0439e6743c5c77520e91bf52a0d16da586214753 (diff) | |
download | linux-8defab8bdfb1d0dc4e4e3c687cfde33b596896f7.tar.xz |
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/ipa_table.h')
-rw-r--r-- | drivers/net/ipa/ipa_table.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/net/ipa/ipa_table.h b/drivers/net/ipa/ipa_table.h index 31363292dc1d..79583b16f363 100644 --- a/drivers/net/ipa/ipa_table.h +++ b/drivers/net/ipa/ipa_table.h @@ -13,9 +13,6 @@ struct ipa; /* The maximum number of filter table entries (IPv4, IPv6; hashed or not) */ #define IPA_FILTER_COUNT_MAX 14 -/* The number of route table entries allotted to the modem */ -#define IPA_ROUTE_MODEM_COUNT 8 - /** * ipa_filter_map_valid() - Validate a filter table endpoint bitmap * @ipa: IPA pointer @@ -78,8 +75,8 @@ void ipa_table_exit(struct ipa *ipa); /** * ipa_table_mem_valid() - Validate sizes of table memory regions * @ipa: IPA pointer - * @modem_route_count: Number of modem route table entries + * @filter: Whether to check filter or routing tables */ -bool ipa_table_mem_valid(struct ipa *ipa, bool modem_route_count); +bool ipa_table_mem_valid(struct ipa *ipa, bool filter); #endif /* _IPA_TABLE_H_ */ |