diff options
| author | 2022-02-22 19:16:52 +0200 | |
|---|---|---|
| committer | 2022-02-23 12:38:16 +0000 | |
| commit | c035ea76c4e79dca72f31e0676c81b2937d6f0a3 (patch) | |
| tree | 66988553fd429c189263236210ec9abb196df24b /tools/perf/scripts/python | |
| parent | mctp: Fix warnings reported by clang-analyzer (diff) | |
mlxsw: core: Prevent trap group setting if driver does not support EMAD
Avoid trap group setting if driver is not capable of EMAD support.
For example, "mlxsw_minimal" driver works over I2C bus, overs which
EMADs cannot be sent.
Validation is performed by testing feature 'MLXSW_BUS_F_TXRX'.
Fixes: 74e0494d35ac ("mlxsw: core: Move basic_trap_groups_set() call out of EMAD init code")
Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
