diff options
| author | Jack Morgenstein <[email protected]> | 2014-09-30 12:03:47 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-09-30 16:27:49 -0400 |
| commit | bbb07af4cdfd0c154db4c636927bd262f71c6401 (patch) | |
| tree | 9f08f3e7096521d7173c964a56ceafd272c9eb33 /include/linux/timerqueue.h | |
| parent | 57f5877c11b244ff2315f4ba0e57b54fe013581f (diff) | |
net/mlx4_core: Don't disable SRIOV if there are active VFs
When unloading the host driver while there are VFs active on VMs,
the PF driver disabled sriov anyway, causing kernel crashes.
We now leave SRIOV enabled, to avoid that.
When the driver is reloaded, __mlx4_init_one is invoked on the PF.
It now checks to see if SRIOV is already enabled on the PF -- and
if so does not enable sriov again.
Signed-off-by: Tal Alon <[email protected]>
Signed-off-by: Jack Morgenstein <[email protected]>
Signed-off-by: Or Gerlitz <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions