Commit bdff4666 authored by Shannon Nelson's avatar Shannon Nelson Committed by David S. Miller

ionic: keep rss hash after fw update

Make sure the RSS hash key is kept across a fw update by not
de-initing it when an update is happening.

Fixes: c672412f ("ionic: remove lifs on fw reset")
Signed-off-by: default avatarShannon Nelson <snelson@pensando.io>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cc4428c4
...@@ -2277,10 +2277,9 @@ static void ionic_lif_deinit(struct ionic_lif *lif) ...@@ -2277,10 +2277,9 @@ static void ionic_lif_deinit(struct ionic_lif *lif)
cancel_work_sync(&lif->deferred.work); cancel_work_sync(&lif->deferred.work);
cancel_work_sync(&lif->tx_timeout_work); cancel_work_sync(&lif->tx_timeout_work);
ionic_rx_filters_deinit(lif); ionic_rx_filters_deinit(lif);
}
if (lif->netdev->features & NETIF_F_RXHASH) if (lif->netdev->features & NETIF_F_RXHASH)
ionic_lif_rss_deinit(lif); ionic_lif_rss_deinit(lif);
}
napi_disable(&lif->adminqcq->napi); napi_disable(&lif->adminqcq->napi);
ionic_lif_qcq_deinit(lif, lif->notifyqcq); ionic_lif_qcq_deinit(lif, lif->notifyqcq);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment