diff options
author | Shannon Nelson <snelson@pensando.io> | 2020-03-17 06:22:08 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-18 07:18:25 +0300 |
commit | ba8fb6c844553950b6e646a4e2f711a7b2ec20ad (patch) | |
tree | 50bd09eb9344fb66cda6f8c7c3682654ddf46ed8 /drivers/net/ethernet/pensando | |
parent | ad6fd4d3114afc0fe9211f8dd3e58a72acb0e867 (diff) | |
download | linux-ba8fb6c844553950b6e646a4e2f711a7b2ec20ad.tar.xz |
ionic: remove adminq napi instance
Remove the adminq's napi struct when tearing down
the adminq.
Fixes: 1d062b7b6f64 ("ionic: Add basic adminq support")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/pensando')
-rw-r--r-- | drivers/net/ethernet/pensando/ionic/ionic_lif.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/pensando/ionic/ionic_lif.c b/drivers/net/ethernet/pensando/ionic/ionic_lif.c index 19fd7cc36f28..12e3823b0bc1 100644 --- a/drivers/net/ethernet/pensando/ionic/ionic_lif.c +++ b/drivers/net/ethernet/pensando/ionic/ionic_lif.c @@ -2070,6 +2070,7 @@ static void ionic_lif_deinit(struct ionic_lif *lif) ionic_lif_rss_deinit(lif); napi_disable(&lif->adminqcq->napi); + netif_napi_del(&lif->adminqcq->napi); ionic_lif_qcq_deinit(lif, lif->notifyqcq); ionic_lif_qcq_deinit(lif, lif->adminqcq); |