linux_dsm_epyc7002/drivers/infiniband/hw
Maor Gottlieb c43f1112c0 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: e126ba97db ('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>
2017-02-14 10:14:25 -05:00
..
cxgb3 Merge branch 'mlx' into merge-test 2016-12-14 14:44:25 -05:00
cxgb4 First round of -rc fixes for 4.10 kernel 2016-12-23 10:38:48 -08:00
hfi1 Updates for 4.10 kernel merge window 2016-12-15 12:03:32 -08:00
hns Merge branch 'mlx' into merge-test 2016-12-14 14:44:25 -05:00
i40iw i40iw: Set 128B as the only supported RQ WQE size 2016-12-22 11:36:12 -05:00
mlx4 net/mlx4_core: Fix raw qp flow steering rules under SRIOV 2016-12-29 14:17:40 -05:00
mlx5 IB/mlx5: Add additional checks before processing MADs 2017-02-14 10:14:25 -05:00
mthca Merge branch 'mlx' into merge-test 2016-12-14 14:44:25 -05:00
nes Updates for 4.10 kernel merge window 2016-12-15 12:03:32 -08:00
ocrdma Merge branches 'misc', 'qedr', 'reject-helpers', 'rxe' and 'srp' into merge-test 2016-12-14 14:44:47 -05:00
qedr First round of -rc fixes for 4.10 kernel 2016-12-23 10:38:48 -08:00
qib Merge branch 'hfi1' into merge-test 2016-12-14 14:44:08 -05:00
usnic Merge branches 'misc', 'qedr', 'reject-helpers', 'rxe' and 'srp' into merge-test 2016-12-14 14:44:47 -05:00
vmw_pvrdma IB: Add vmw_pvrdma driver 2016-12-14 14:55:10 -05:00
Makefile IB: Add vmw_pvrdma driver 2016-12-14 14:55:10 -05:00