Hi Guys,
I just have a question about the driver’s behavior in case of a SRIOV device (with all the Virtual functions are identical). Lets say that there are IOs going on and a FLR is issued to a VF. My assumption is that the function driver will not even know that the reset occurred. The OS will
- issue the reset,
- unload the driver,
- claim all the pending commands in the driver
- Perform a PCIe level initialization of the function (mostly a VF is initialized using the SRIOV capabilities, so not much to do here)
- Reload the driver
I am not really sure about step 3 here. Will the driver need to participate in “aborting” the commands? can the driver register for a “reset notification” on FLR and abort perform all the commands there?
Appreciate any inputs here.
Thanks
-Aj