Skip to content

Commit

Permalink
ionic: keep rss hash after fw update
Browse files Browse the repository at this point in the history
Make sure the RSS hash key is kept across a fw update by not
de-initing it when an update is happening.

Fixes: c672412 ("ionic: remove lifs on fw reset")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Shannon Nelson authored and David S. Miller committed Jul 21, 2020
1 parent cc4428c commit bdff466
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/net/ethernet/pensando/ionic/ionic_lif.c
Original file line number Diff line number Diff line change
Expand Up @@ -2277,11 +2277,10 @@ static void ionic_lif_deinit(struct ionic_lif *lif)
cancel_work_sync(&lif->deferred.work);
cancel_work_sync(&lif->tx_timeout_work);
ionic_rx_filters_deinit(lif);
if (lif->netdev->features & NETIF_F_RXHASH)
ionic_lif_rss_deinit(lif);
}

if (lif->netdev->features & NETIF_F_RXHASH)
ionic_lif_rss_deinit(lif);

napi_disable(&lif->adminqcq->napi);
ionic_lif_qcq_deinit(lif, lif->notifyqcq);
ionic_lif_qcq_deinit(lif, lif->adminqcq);
Expand Down

0 comments on commit bdff466

Please sign in to comment.