diff options
author | Alex Elder <elder@linaro.org> | 2021-03-26 16:11:22 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-26 23:02:39 +0100 |
commit | 3219953bedc563ef988fa423f8ac67a441f69b4b (patch) | |
tree | e9d2f56849a04dd06bbda8ce7bac8154ea16bf7b /drivers/net/ipa/ipa_data.h | |
parent | net: ipa: record number of groups in data (diff) | |
download | linux-3219953bedc563ef988fa423f8ac67a441f69b4b.tar.xz linux-3219953bedc563ef988fa423f8ac67a441f69b4b.zip |
net: ipa: support more than 6 resource groups
IPA versions 3.0 and 3.1 support up to 8 resource groups. There is
some interest in supporting these older versions of the hardware, so
update the resource configuration code to program resource limits
for these groups if specified.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ipa/ipa_data.h')
-rw-r--r-- | drivers/net/ipa/ipa_data.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ipa/ipa_data.h b/drivers/net/ipa/ipa_data.h index c5d763a3782f..ea8f99286228 100644 --- a/drivers/net/ipa/ipa_data.h +++ b/drivers/net/ipa/ipa_data.h @@ -46,8 +46,8 @@ * the IPA endpoint. */ -/* The maximum value returned by ipa_resource_group_{src,dst}_count() */ -#define IPA_RESOURCE_GROUP_MAX 5 +/* The maximum possible number of source or destination resource groups */ +#define IPA_RESOURCE_GROUP_MAX 8 /** enum ipa_qsb_master_id - array index for IPA QSB configuration data */ enum ipa_qsb_master_id { |