]> www.infradead.org Git - users/willy/xarray.git/commit
ionic: Reset LIF device while restarting LIF
authorShannon Nelson <shannon.nelson@amd.com>
Wed, 29 May 2024 00:02:54 +0000 (17:02 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 31 May 2024 01:10:34 +0000 (18:10 -0700)
commit8097a2f3d21a672c772ca1919f253e611f2f0bad
treea7ad2ee2a2a775110aa16940038d9d1b55313352
parent3eb76e71b16e8ba5277bf97617aef51f5e64dbe4
ionic: Reset LIF device while restarting LIF

Recovery from broken states can be hard.  If the LIF reset in
the fw_down path didn't work because the PCI link was broken,
the FW won't be in the right state for proper restart.  We can
fire another LIF reset in the fw_up path to be sure things
are clean on restart.

Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Link: https://lore.kernel.org/r/20240529000259.25775-3-shannon.nelson@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/pensando/ionic/ionic_lif.c