diff options
author | 2023-10-24 16:20:10 +0200 | |
---|---|---|
committer | 2023-12-05 10:51:22 -0800 | |
commit | f8e9889f54da6e3146c2cb3f5c206cf1a704f9d3 (patch) | |
tree | b02881b5007d8e879e026e967284df7b223e2cf7 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | octeontx2-af: fix a use-after-free in rvu_npa_register_reporters (diff) | |
download | wireguard-linux-f8e9889f54da6e3146c2cb3f5c206cf1a704f9d3.tar.xz wireguard-linux-f8e9889f54da6e3146c2cb3f5c206cf1a704f9d3.zip |
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 <jacob.e.keller@intel.com>
Signed-off-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Rafal Romanowski <rafal.romanowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions