Fwd: Function Level Reset notification to PCIe device driver

From: ragas gupta
Date: Fri Apr 09 2021 - 08:06:41 EST


Hello,

This query is regarding Function level reset feature for SRIOV.
As per code in Linux PCIe driver the function level reset is done by writing “1” to “reset” under sysfs interface.
e.g. “echo 1 > /sys/bus/pci/devices/<interface id> /reset “

As function level reset is not triggered via the PCIe device driver how PCIe device driver can get the notification of the function level reset(FLR)?