pds_core: keep viftypes table across reset
authorShannon Nelson <shannon.nelson@amd.com>
Thu, 14 Sep 2023 22:31:58 +0000 (15:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Sep 2023 08:28:22 +0000 (09:28 +0100)
commitd557c094e7400929bbcd9df6500af0d5e3ab08c1
tree5c8cebe0ef955c83f2e3c08e690732cb2317309c
parentf7b5bd725b737de3f2c4a836e07c82ba156d75df
pds_core: keep viftypes table across reset

Keep the viftypes and the current enable/disable states
across a recovery action.

Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Reviewed-by: Brett Creeley <brett.creeley@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/pds_core/core.c