summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAmit Cohen <amcohen@nvidia.com>2023-01-19 11:32:28 +0100
committerJakub Kicinski <kuba@kernel.org>2023-01-20 18:50:15 -0800
commitd84e2359e621db111de5904976bc8a721d0fb03b (patch)
tree42d494514965880f5b5f95f39b6ef6a7198e9e6a /tools/perf/scripts/python/exported-sql-viewer.py
parent42b4f757ba9c4990dc3c26f0d54a3259ad761613 (diff)
mlxsw: Enable string TLV usage according to MGIR output
String TLV is not supported by old firmware versions, therefore 'struct mlxsw_core' stores the field 'emad.enable_string_tlv', which is set to true only after firmware version check. Instead of assuming that firmware version check is enough to enable string TLV, a better solution is to query if this TLV is supported from MGIR register. Add such query and initialize 'emad.enable_string_tlv' accordingly. Signed-off-by: Amit Cohen <amcohen@nvidia.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: Tony Nguyen <anthony.l.nguyen@intel.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions