aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorMichael Chan <[email protected]>2020-12-27 14:18:18 -0500
committerJakub Kicinski <[email protected]>2020-12-28 14:10:53 -0800
commita029a2fef5d11bb85587433c3783615442abac96 (patch)
tree877d4864ef27fdd0a9979bdbe95815c42bb48972 /tools/perf/scripts/python/bin/export-to-postgresql-report
parentfb1e6e562b37b39adfe251919c9abfdb3e01f921 (diff)
bnxt_en: Check TQM rings for maximum supported value.
TQM rings are hardware resources that require host context memory managed by the driver. The driver supports up to 9 TQM rings and the number of rings to use is requested by firmware during run-time. Cap this number to the maximum supported to prevent accessing beyond the array. Future firmware may request more than 9 TQM rings. Define macros to remove the magic number 9 from the C code. Fixes: ac3158cb0108 ("bnxt_en: Allocate TQM ring context memory according to fw specification.") Reviewed-by: Pavan Chebbi <[email protected]> Reviewed-by: Vasundhara Volam <[email protected]> Signed-off-by: Michael Chan <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions