Re: Function Level Reset notification to PCIe device driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 09, 2021 at 05:20:40PM +0530, ragas gupta wrote:
> Hello, 
>   
> This query is regarding Function level reset feature for SRIOV. 

Just FYI, FLR support is independent of 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)? 

Driver's wishing to be notified of the reset can implement the
pci_error_handlers .reset_prepare() and .reset_done() callbacks for the
notification.



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux