diff options
| author | Maor Gottlieb <maorg@mellanox.com> | 2017-01-18 15:10:33 +0300 |
|---|---|---|
| committer | Doug Ledford <dledford@redhat.com> | 2017-02-14 18:14:25 +0300 |
| commit | c43f1112c068f3b4b20a0a9d461c341d9caeb376 (patch) | |
| tree | c3c1ed21f547741e05fd3034613d42027f73a46c /tools/perf/scripts/python | |
| parent | 45bded2c216da6010184ac5ebe88c27f73439009 (diff) | |
| download | linux-c43f1112c068f3b4b20a0a9d461c341d9caeb376.tar.xz | |
IB/mlx5: Add additional checks before processing MADs
Check the has_smi bit in vport context and class version of MADs
before allowing MADs processing to take place.
MAD_IFC SMI commands can be executed only if smi bit is set.
Fixes: e126ba97dba9 ('mlx5: Add driver for Mellanox Connect-IB adapters')
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Parvi Kaustubhi <parvik@mellanox.com>
Reviewed-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
