diff options
author | Amit Cohen <[email protected]> | 2023-01-19 11:32:27 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-01-20 18:50:15 -0800 |
commit | 42b4f757ba9c4990dc3c26f0d54a3259ad761613 (patch) | |
tree | 601a824a6ee25176936a3ced8522de36ff1059f0 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 24a7fffb2533bb44d4ec84bb824732a9c4882f15 (diff) |
mlxsw: reg: Add TLV related fields to MGIR register
MGIR (Management General Information Register) allows software to query the
hardware and firmware general information. As part of firmware information,
the driver can query if string TLV and latency TLV are supported. These
TLVs are part of EMAD's header and are used to provide information per
EMAD packet to software.
Currently, string TLV is already used by the driver, but it does not
query if this TLV is supported from MGIR. The next patches will add support
of latency TLV. Add the relevant fields to MGIR, so then the driver will
query them to know if the TLVs are supported before using them.
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