> On Fri, Dec 2, 2011 at 2:19 AM, Yevgeny Petrilin
> <yevge...@mellanox.co.il> wrote:
> > 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.
> 
> Not sure I understand this -- what happens if the driver doesn't reset
> the device
> after a catastrophic error?  Surely all the VFs are pretty screwed at
> that point?
> 
> Which hypervisor are we talking about here anyway?
> 
>  - R.

Indeed, if you don't reset the device after an internal error, the PF/VF might 
not work properly unless you reload the PF driver.

However, invoking the SW reset by the PF (upon detecting an internal error) 
currently affects the SRIOV capability on the PCI so we cannot do it before 
disabling SRIOV first.
Since the driver is not in charge of passing-through VFs to VMs, it cannot 
disable SRIOV either so we cannot reset the device while using SRIOV.
Note that the single-function behavior is not modified.

We intend to post a fix for this in a different patch-set.
--Liran

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to