summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorShahar Shitrit <shshitrit@nvidia.com>2025-02-13 12:46:40 +0300
committerJakub Kicinski <kuba@kernel.org>2025-02-18 03:27:38 +0300
commit633f16d7e07c129a36b882c05379e01ce5bdb542 (patch)
tree2ab74ce381433c4d2d9292a8a5431f95afe7f2b5 /tools/perf/scripts/python/export-to-postgresql.py
parentb9b72ce0f5f4679fc878ad010658a72f30595118 (diff)
downloadlinux-633f16d7e07c129a36b882c05379e01ce5bdb542.tar.xz
net/mlx5: Modify LSB bitmask in temperature event to include only the first bit
In the sensor_count field of the MTEWE register, bits 1-62 are supported only for unmanaged switches, not for NICs, and bit 63 is reserved for internal use. To prevent confusing output that may include set bits that are not relevant to NIC sensors, we update the bitmask to retain only the first bit, which corresponds to the sensor ASIC. Signed-off-by: Shahar Shitrit <shshitrit@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Reviewed-by: Mateusz Polchlopek <mateusz.polchlopek@intel.com> Link: https://patch.msgid.link/20250213094641.226501-4-tariqt@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions