linux_dsm_epyc7002/drivers/infiniband/hw/mlx4
Kamal Heib 69d269d389 IB/mlx4: Diagnostic HW counters are not supported in slave mode
Modify the mlx4_ib_diag_counters() to avoid the following error in the
hypervisor when the slave tries to query the hardware counters in SR-IOV
mode.

mlx4_core 0000:81:00.0: Unknown command:0x30 accepted from slave:1

Fixes: 3f85f2aaab ("IB/mlx4: Add diagnostic hardware counters")
Signed-off-by: Kamal Heib <kamalh@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-09-16 14:14:08 -04:00
..
ah.c IB/mlx4: Properly initialize GRH TClass and FlowLabel in AHs 2016-06-17 19:36:54 -04:00
alias_GUID.c IB/mlx4: Use boottime 2016-02-29 17:11:40 -05:00
cm.c IB/mlx4: In mlx4_ib_demux_cm, print out GUID in host-endian order 2015-02-17 22:11:40 -08:00
cq.c IB/mlx4: Don't return errors from poll_cq 2016-09-02 14:11:38 -04:00
doorbell.c IB: Refactor umem to use linear SG table 2014-03-04 10:34:28 -08:00
Kconfig net: mellanox: add DEVLINK dependencies 2016-03-03 17:08:59 -05:00
mad.c IB/mlx4: Use correct subnet-prefix in QP1 mads under SR-IOV 2016-09-16 14:14:08 -04:00
main.c IB/mlx4: Diagnostic HW counters are not supported in slave mode 2016-09-16 14:14:08 -04:00
Makefile IB/mlx4: Add iov directory in sysfs under the ib device 2012-09-30 20:33:39 -07:00
mcg.c IB/mlx4: Fix incorrect MC join state bit-masking on SR-IOV 2016-09-16 14:14:08 -04:00
mlx4_ib.h IB/mlx4: Use correct subnet-prefix in QP1 mads under SR-IOV 2016-09-16 14:14:08 -04:00
mr.c IB/mlx4: Prevent cross page boundary allocation 2016-06-23 10:08:25 -04:00
qp.c IB/mlx4: Use correct subnet-prefix in QP1 mads under SR-IOV 2016-09-16 14:14:08 -04:00
srq.c Initial roundup of 4.5 merge window patches 2016-01-23 18:45:06 -08:00
sysfs.c IB/mlx4: Forbid using sysfs to change RoCE pkeys 2015-08-30 18:12:22 -04:00
user.h mlx4: 64-byte CQE/EQE support 2012-11-26 10:19:17 -08:00