aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorYufeng Mo <[email protected]>2021-08-10 13:28:48 +0000
committerJakub Kicinski <[email protected]>2021-08-11 22:03:30 +0000
commitddccc5e368a33daeb6862192d4dca8e59af9234a (patch)
tree2ef9b7dffb4d29919d336746f1d92189103248f5 /drivers/fpga/fpga-bridge.c
parentMerge branch 'bonding-cleanup-header-file-and-error-msgs' (diff)
downloadkernel-ddccc5e368a33daeb6862192d4dca8e59af9234a.tar.gz
kernel-ddccc5e368a33daeb6862192d4dca8e59af9234a.zip
net: hns3: add support for triggering reset by ethtool
Currently, four reset types are supported for the HNS3 ethernet driver: IMP reset, global reset, function reset, and FLR. Only FLR can now be triggered by the user. To restore the device when an exception occurs, add support for triggering reset by ethtool. Run the "ethtool --reset DEVNAME mgmt | all | dedicated" to trigger the IMP | global | function reset manually. In addition, VF can only trigger function reset. Signed-off-by: Yufeng Mo <[email protected]> Signed-off-by: Guangbin Huang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions