summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorEmil Tantilov <emil.s.tantilov@intel.com>2025-11-26 01:36:24 +0300
committerJakub Kicinski <kuba@kernel.org>2025-11-28 05:34:21 +0300
commit8dd72ebc73f37b216410db17340f15e6fb2cdb7b (patch)
treecacd9a76c33d6e55aecc44fc2811ac7ffd1e3025 /tools/perf/scripts/python/bin/stackcollapse-record
parent1645759a0405aaeaa9fa5d0a4167a3cb626808bb (diff)
downloadlinux-8dd72ebc73f37b216410db17340f15e6fb2cdb7b.tar.xz
idpf: convert vport state to bitmap
Convert vport state to a bitmap and remove the DOWN state which is redundant in the existing logic. There are no functional changes aside from the use of bitwise operations when setting and checking the states. Removed the double underscore to be consistent with the naming of other bitmaps in the header and renamed current_state to vport_is_up to match the meaning of the new variable. Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com> Reviewed-by: Chittim Madhu <madhu.chittim@intel.com> Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com> Tested-by: Samuel Salin <Samuel.salin@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> Link: https://patch.msgid.link/20251125223632.1857532-6-anthony.l.nguyen@intel.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions