netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Shannon Nelson <snelson@pensando.io>
To: netdev@vger.kernel.org, davem@davemloft.net
Cc: Shannon Nelson <snelson@pensando.io>
Subject: [PATCH net-next 3/5] ionic: remove adminq napi instance
Date: Sun, 15 Mar 2020 19:14:26 -0700	[thread overview]
Message-ID: <20200316021428.48919-4-snelson@pensando.io> (raw)
In-Reply-To: <20200316021428.48919-1-snelson@pensando.io>

Remove the adminq's napi struct when tearing down
the adminq.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
---
 drivers/net/ethernet/pensando/ionic/ionic_lif.c | 1 +
 1 file changed, 1 insertion(+)

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);
 
-- 
2.17.1


  parent reply	other threads:[~2020-03-16  2:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-16  2:14 [PATCH net-next 0/5] ionic bits and bytes Shannon Nelson
2020-03-16  2:14 ` [PATCH net-next 1/5] ionic: don't register mgmt device as devlink port Shannon Nelson
2020-03-16  2:14 ` [PATCH net-next 2/5] ionic: deinit rss only if selected Shannon Nelson
2020-03-16  2:14 ` Shannon Nelson [this message]
2020-03-16  6:52   ` [PATCH net-next 3/5] ionic: remove adminq napi instance Leon Romanovsky
2020-03-16 18:01     ` Shannon Nelson
2020-03-16  2:14 ` [PATCH net-next 4/5] ionic: return error for unknown xcvr type Shannon Nelson
2020-03-16  2:14 ` [PATCH net-next 5/5] ionic: add decode for IONIC_RC_ENOSUPP Shannon Nelson
2020-03-16  6:49   ` Leon Romanovsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200316021428.48919-4-snelson@pensando.io \
    --to=snelson@pensando.io \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).