OpenCloudOS-Kernel/include/linux/mlx4
Daniel Jurgens 4bfd2e6e53 net/mlx4_core: Avoid repeated calls to pci enable/disable
Maintain the PCI status and provide wrappers for enabling and disabling
the PCI device.  Performing the actions more than once without doing
its opposite results in warning logs.

This occurred when EEH hotplugged the device causing a warning for
disabling an already disabled device.

Fixes: 2ba5fbd62b ('net/mlx4_core: Handle AER flow properly')
Signed-off-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-04-21 15:02:40 -04:00
..
cmd.h IB/mlx4: Add support for setting RoCEv2 gids in hardware 2016-01-19 15:35:00 -05:00
cq.h net/mlx4_en: Add support for hardware accelerated 802.1ad vlan 2015-07-27 15:00:37 -07:00
device.h net/mlx4_core: Avoid repeated calls to pci enable/disable 2016-04-21 15:02:40 -04:00
doorbell.h
driver.h mlx4: Implement devlink interface 2016-03-01 16:07:29 -05:00
qp.h IB/mlx4: Support modify_qp for RoCE v2 2016-01-19 15:35:01 -05:00
srq.h mlx4_core: Implement SRQ object lookup from srqn 2013-04-16 22:42:55 -07:00