diff options
author | Vadim Pasternak <vadimp@nvidia.com> | 2022-02-22 20:16:52 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-02-23 15:38:16 +0300 |
commit | c035ea76c4e79dca72f31e0676c81b2937d6f0a3 (patch) | |
tree | 66988553fd429c189263236210ec9abb196df24b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 8d783197f06d905e5e7a89342e815ef5aeaa1731 (diff) | |
download | linux-c035ea76c4e79dca72f31e0676c81b2937d6f0a3.tar.xz |
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions