diff options
| author | Maor Gottlieb <[email protected]> | 2017-01-18 14:10:33 +0200 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2017-02-14 10:14:25 -0500 |
| commit | c43f1112c068f3b4b20a0a9d461c341d9caeb376 (patch) | |
| tree | c3c1ed21f547741e05fd3034613d42027f73a46c /tools/perf/util/c++/clang.cpp | |
| parent | 45bded2c216da6010184ac5ebe88c27f73439009 (diff) | |
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 <[email protected]>
Signed-off-by: Parvi Kaustubhi <[email protected]>
Reviewed-by: Eli Cohen <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions