ionic: restore netdev feature bits after reset
authorShannon Nelson <shannon.nelson@amd.com>
Fri, 23 Feb 2024 22:27:42 +0000 (14:27 -0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 27 Feb 2024 12:03:32 +0000 (13:03 +0100)
commit155a1efc9b96a39857714aff49a11ebc93022c8c
tree84e4bca199066823374e49aad02943ab2672082d
parent7662fad348ac54120e9e6443cb0bbe4f3b582219
ionic: restore netdev feature bits after reset

When rebuilding the lif after an FLR, be sure to restore the
current netdev features, not do the usual first time feature
init.  This prevents losing user changes to things like TSO
or vlan tagging states.

Fixes: 45b84188a0a4 ("ionic: keep filters across FLR")
Reviewed-by: Brett Creeley <brett.creeley@amd.com>
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/pensando/ionic/ionic_lif.c