aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2022-10-27 07:26:32 -0500
committerJakub Kicinski <kuba@kernel.org>2022-10-28 22:06:48 -0700
commitb7aaff0b010ede619bdea22118d4a2f9aa966867 (patch)
tree5f75414aab52e7c77f64ab8c5b420e67bb42f009 /tools/perf/scripts/python
parentnet: ipa: determine the maximum endpoint ID (diff)
downloadlinux-b7aaff0b010ede619bdea22118d4a2f9aa966867.tar.gz
linux-b7aaff0b010ede619bdea22118d4a2f9aa966867.zip
net: ipa: record and use the number of defined endpoint IDs
Define a new field in the IPA structure that records the maximum number of entries that will be used in the IPA endpoint array. Use that value rather than IPA_ENDPOINT_MAX to determine the end condition for two loops that iterate over all endpoints. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions