summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAnirudh Venkataramanan <anirudh.venkataramanan@intel.com>2019-08-02 01:25:23 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-08-26 23:52:29 -0700
commit152b978a1f904f252ae3df548bc2e183e7368c6d (patch)
tree69e6533a5a82ba7bf7ca00ad0c27872468be3480 /tools/perf/scripts/python/export-to-postgresql.py
parentcb6a8dc07827086a7ce4151c62367d959c6ad5f1 (diff)
ice: Rework ice_ena_msix_range
The current implementation of ice_ena_msix_range is difficult to read and has subtle issues. This patch reworks the said function for clarity and correctness. More specifically, 1. Add more checks to bail out of 'needed' is greater than 'v_left'. 2. Simplify fallback logic 3. Do not set pf->num_avail_sw_msix in ice_ena_msix_range as it gets overwritten by ice_init_interrupt_scheme. Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions