aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorAlex Elder <[email protected]>2020-10-28 14:41:47 -0500
committerJakub Kicinski <[email protected]>2020-10-30 17:20:10 -0700
commit8c365f747f0218f2bc6bad0740324c92444423fb (patch)
tree9819c8ac8bd668706aa98a2a45d64de0e702371d /tools/perf/scripts/python/flamegraph.py
parent2d2653424ce5c4485978a523db3873f87e196593 (diff)
net: ipa: distinguish between resource group types
The number of resource groups supported by the hardware can be different for source and destination resources. Determine the number supported for each using separate functions. Make the functions inline end move their definitions into "ipa_reg.h", because they determine whether certain register definitions are valid. Pass just the IPA hardware version as argument. IPA_RESOURCE_GROUP_COUNT represents the maximum number of resource groups the driver supports for any hardware version. Change that symbol to be two separate constants, one for source and the other for destination resource groups. Rename them to end with "_MAX" rather than "_COUNT", to reflect their true purpose. Tested-by: Sujit Kautkar <[email protected]> Signed-off-by: Alex Elder <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions