commit | 1e0e50b6177bbc83e8cf673a29b2842c769f90f4 | [log] [tgz] |
---|---|---|
author | Maor Gottlieb <maorg@mellanox.com> | Wed Jan 18 14:10:34 2017 +0200 |
committer | Doug Ledford <dledford@redhat.com> | Tue Feb 14 10:14:25 2017 -0500 |
tree | 0624901272043d807e35e60bad199c5c33e586fa | |
parent | c43f1112c068f3b4b20a0a9d461c341d9caeb376 [diff] |
IB/mlx5: Avoid SMP MADs from VFs According to the device specification, we need to check that the has_smi bit is set in vport context before allowing send SMP MADs from VF. Fixes: e126ba97dba9 ('mlx5: Add driver for Mellanox Connect-IB adapters') Signed-off-by: Maor Gottlieb <maorg@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>