]> git.baikalelectronics.ru Git - kernel.git/commit
mlx4_core: adjust catas operation for SRIOV mode
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Tue, 13 Dec 2011 04:17:16 +0000 (04:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Dec 2011 18:56:08 +0000 (13:56 -0500)
commitde46e5d143e7c569b61de84905508cd8f475bf89
tree45c7845d64f2f06282781a6147d4d6bc0d70f95b
parentd5e7cad631a225d19f1aab8f968c8bdb5a5fb7fb
mlx4_core: adjust catas operation for SRIOV mode

When running in SRIOV mode, driver should not automatically start/stop
the mlx4_core upon sensing an HCA internal error -- doing this disables/enables
sriov, which will cause the hypervisor to hang if there are running VMs with
attached VFs.

In addition, on VMs the catas process should not run at all, since the HCA
error buffer is not available to VMs in the BARs.

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/catas.c
drivers/net/ethernet/mellanox/mlx4/intf.c