summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2024-02-06 01:31:50 +0300
committerJakub Kicinski <kuba@kernel.org>2024-02-09 23:37:40 +0300
commitf42822f22b1c5f72c7e3497d9683f379ab0c5fe4 (patch)
tree0aec411bc9703332014731f50c56ea7b257cac51 /tools/perf/scripts/python/export-to-postgresql.py
parentf51470c5c4a08d3e69f7c7891633b960aa6fe678 (diff)
downloadlinux-f42822f22b1c5f72c7e3497d9683f379ab0c5fe4.tar.xz
bnxt_en: Use firmware provided maximum filter counts.
While individual filter structures are allocated as needed, there is an array to keep track of the software filter IDs that we allocate ahead of time. Rather than relying on a fixed maximum filter count to allocate this array, get the maximum from the firmware when available. Move these filter related maximum counts queried from the firmware to the bnxt_hw_resc struct. If the firmware is not providing these maximum counts, fall back to the hard-coded constant. Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com> Link: https://lore.kernel.org/r/20240205223202.25341-2-michael.chan@broadcom.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions