ionic: pull out common bits from fw_up
authorShannon Nelson <shannon.nelson@amd.com>
Thu, 20 Jul 2023 19:08:15 +0000 (12:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jul 2023 09:42:34 +0000 (10:42 +0100)
commit30d2e073964dbc7b7e1e8ded12924a8f0cc5cedf
treea274835011a2334c9d9a7325ec6e22b7bb04d43b
parent0de38d9f1dba2336f84799824af08263fc407dd1
ionic: pull out common bits from fw_up

Pull out some code from ionic_lif_handle_fw_up() that can be
used in the coming FLR recovery patch.

Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_lif.c