]> git.baikalelectronics.ru Git - kernel.git/commit
staging: qlge: support force_coredump option for devlink health dump
authorCoiby Xu <coiby.xu@gmail.com>
Sat, 23 Jan 2021 10:46:10 +0000 (18:46 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Jan 2021 15:54:20 +0000 (16:54 +0100)
commite0d5a2ae02ed4a53637b152bfc9791a06dbcca45
treeeb98534f4e13d34b2d7dadae4f52a920484ee033
parenta30cfabb98669bec37447b6cc65083fd11506c30
staging: qlge: support force_coredump option for devlink health dump

With force_coredump module parameter set, devlink health dump will
reset the MPI RISC first which takes 5 secs to be finished.

Note that only NIC function that owns the firmware can do the
force_dumping. Otherwise devlink will receive an EPERM error.

Signed-off-by: Coiby Xu <coiby.xu@gmail.com>
Link: https://lore.kernel.org/r/20210123104613.38359-6-coiby.xu@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/qlge/qlge_devlink.c