summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMichal Swiatkowski <michal.swiatkowski@linux.intel.com>2024-12-03 09:58:16 +0300
committerTony Nguyen <anthony.l.nguyen@intel.com>2025-02-05 20:04:57 +0300
commita203163274a48501c88d96625c173773e3d7c6a0 (patch)
treed0371d9f84fc8f83da69e99e5c173c771079e13e /tools/perf/scripts/python
parent87181cd6985fbd591ba2b7b7c5ab9772c7cab689 (diff)
downloadlinux-a203163274a48501c88d96625c173773e3d7c6a0.tar.xz
ice: simplify VF MSI-X managing
After implementing pf->msix.max field, base vector for other use cases (like VFs) can be fixed. This simplify code when changing MSI-X amount on particular VF, because there is no need to move a base vector. A fixed base vector allows to reserve vectors from the beginning instead of from the end, which is also simpler in code. Store total and rest value in the same struct as max and min for PF. Move tracking vectors from ice_sriov.c to ice_irq.c as it can be also use for other none PF use cases (SIOV). Tested-by: Rafal Romanowski <rafal.romanowski@intel.com> Signed-off-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions