aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorAmit Cohen <[email protected]>2023-01-19 11:32:28 +0100
committerJakub Kicinski <[email protected]>2023-01-20 18:50:15 -0800
commitd84e2359e621db111de5904976bc8a721d0fb03b (patch)
tree42d494514965880f5b5f95f39b6ef6a7198e9e6a /tools/testing/selftests/bpf/prog_tests/autoload.c
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 <[email protected]> Reviewed-by: Ido Schimmel <[email protected]> Signed-off-by: Petr Machata <[email protected]> Reviewed-by: Tony Nguyen <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions