diff options
author | Alex Elder <[email protected]> | 2022-11-02 17:11:35 -0500 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-11-04 10:16:53 +0000 |
commit | 9a9f512974d5e3e721e106f30429c16dfeb23326 (patch) | |
tree | 7154d7388a7d450dd16fff570b60a376203a4e09 /tools/perf/scripts/python/stackcollapse.py | |
parent | f298ba785e2d4f18bc2d01ee1ce719efe14242f0 (diff) |
net: ipa: use a bitmap for defined endpoints
IPA v5.0 supports more than 32 endpoints, so we will be unable to
represent endpoints defined in the configuration data with a 32-bit
value. To prepare for that, convert the field in the IPA structure
representing defined endpoints to be a Linux bitmap.
Convert loops based on that field into for_each_set_bit() calls over
the new bitmap. Note that the loop in ipa_endpoint_config() still
assumes there are 32 or fewer endpoints (when comparing against the
available endpoint bit mask); that assumption goes away in the next
patch.
Signed-off-by: Alex Elder <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions