summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorIsrael Rukshin <israelr@nvidia.com>2024-11-27 08:57:31 +0200
committerMichael S. Tsirkin <mst@redhat.com>2025-01-27 09:39:26 -0500
commita0ec4fb63f5ce15732f8dadc63c931bdf9ff98b5 (patch)
treeabbb9b9f82df4529095f108a9b786652c275043a /net/lapb/lapb_out.c
parenta3b9c053d82a9e524746f5473ad1bd18e9894bfa (diff)
virtio_pci: Add support for PCIe Function Level Reset
Implement support for Function Level Reset (FLR) in virtio_pci devices. This change adds reset_prepare and reset_done callbacks, allowing drivers to properly handle FLR operations. Without this patch, performing and recovering from an FLR is not possible for virtio_pci devices. This implementation ensures proper FLR handling and recovery for both physical and virtual functions. The device reset can be triggered in case of error or manually via sysfs: echo 1 > /sys/bus/pci/devices/$PCI_ADDR/reset Signed-off-by: Israel Rukshin <israelr@nvidia.com> Reviewed-by: Max Gurtovoy <mgurtovoy@nvidia.com> Message-Id: <1732690652-3065-2-git-send-email-israelr@nvidia.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions