]> 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)
commit26126e7f204510bba602344d9534d776d444952c
tree45c7845d64f2f06282781a6147d4d6bc0d70f95b
parentd84d4be59f3fc45c57fed4cf047212401a429eae
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