ionic: only save the user set VF attributes
authorShannon Nelson <snelson@pensando.io>
Wed, 26 Oct 2022 14:37:41 +0000 (07:37 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 28 Oct 2022 03:34:13 +0000 (20:34 -0700)
commit23e884a253a77ed565e0c410fae660ea8e7081c8
tree13153cec4ad5fad3f76a4f1a6011f33df0aaa052
parentdb28adf9afeb1c3a627546d9b9c8cf45c27267b4
ionic: only save the user set VF attributes

Report the current FW values for the VF attributes, but don't
save the FW values locally, only save the vf attributes that
are given to us from the user.  This allows us to replay user
data, and doesn't end up confusing things like "who set the
mac address".

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/pensando/ionic/ionic_lif.c