diff options
author | Michal Swiatkowski <michal.swiatkowski@linux.intel.com> | 2024-12-03 07:58:16 +0100 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2025-02-05 09:04:57 -0800 |
commit | a203163274a48501c88d96625c173773e3d7c6a0 (patch) | |
tree | d0371d9f84fc8f83da69e99e5c173c771079e13e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 87181cd6985fbd591ba2b7b7c5ab9772c7cab689 (diff) |
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions