ionic: update filter id after replay
authorShannon Nelson <snelson@pensando.io>
Mon, 20 Jul 2020 23:00:15 +0000 (16:00 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jul 2020 08:19:44 +0000 (10:19 +0200)
commitb0fec273fe0ae3e38bd8b7490470c87d56122f23
treebadc3adde6925105e4880dbb96b32cb9728afd3d
parent14f48715a6b4368d30d53598ca0a46f25577ef87
ionic: update filter id after replay

[ Upstream commit cc4428c4de8c31f12e4690d0409e0432fe05702f ]

When we replay the rx filters after a fw-upgrade we get new
filter_id values from the FW, which we need to save and update
in our local filter list.  This allows us to delete the filters
with the correct filter_id when we're done.

Fixes: 7e4d47596b68 ("ionic: replay filters after fw upgrade")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c