]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: qede: optional hw recovery procedure
authorIgor Russkikh <irusskikh@marvell.com>
Thu, 14 May 2020 09:57:23 +0000 (12:57 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 May 2020 20:25:46 +0000 (13:25 -0700)
commit7d9acd87bd55f401ada67b9c6a9c83a7e68c4ddf
tree6e3d702c93734c199b366eae62b485f069e3f5c0
parent936c7ba4dd5e94a3fc784f2296de5d577a9b5e43
net: qede: optional hw recovery procedure

Driver has an ability to initiate a recovery process as a reaction to
detected errors. But the codepath (recovery_process) was disabled and
never active.

Here we add ethtool private flag to allow user have the recovery
procedure activated.

We still do not enable this by default though, since in some configurations
this is not desirable. E.g. this may impact other PFs/VFs.

Signed-off-by: Ariel Elior <ariel.elior@marvell.com>
Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qede/qede_ethtool.c