summaryrefslogtreecommitdiffstats
path: root/drivers/net/ipa/ipa_data.h
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2021-03-26 16:11:22 +0100
committerDavid S. Miller <davem@davemloft.net>2021-03-26 23:02:39 +0100
commit3219953bedc563ef988fa423f8ac67a441f69b4b (patch)
treee9d2f56849a04dd06bbda8ce7bac8154ea16bf7b /drivers/net/ipa/ipa_data.h
parentnet: ipa: record number of groups in data (diff)
downloadlinux-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.h4
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 {