aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorMichal Swiatkowski <[email protected]>2023-10-24 16:20:10 +0200
committerTony Nguyen <[email protected]>2023-12-05 10:51:22 -0800
commitf8e9889f54da6e3146c2cb3f5c206cf1a704f9d3 (patch)
treeb02881b5007d8e879e026e967284df7b223e2cf7 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent3c91c909f13f0c32b0d54d75c3f798479b1a84f5 (diff)
ice: change vfs.num_msix_per to vf->num_msix
vfs::num_msix_per should be only used as default value for vf->num_msix. For other use cases vf->num_msix should be used, as VF can have different MSI-X amount values. Fix incorrect register index calculation. vfs::num_msix_per and pf->sriov_base_vector shouldn't be used after implementation of changing MSI-X amount on VFs. Instead vf->first_vector_idx should be used, as it is storing value for first irq index. Fixes: fe1c5ca2fe76 ("ice: implement num_msix field per VF") Reviewed-by: Jacob Keller <[email protected]> Signed-off-by: Michal Swiatkowski <[email protected]> Reviewed-by: Simon Horman <[email protected]> Tested-by: Rafal Romanowski <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions