From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by dpdk.org (Postfix) with ESMTP id D6A61239 for ; Mon, 15 Oct 2018 13:52:10 +0200 (CEST) Received: by mail-wr1-f68.google.com with SMTP id e4-v6so20981386wrs.0 for ; Mon, 15 Oct 2018 04:52:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1/lXC9gzOIFioyYBfP6SeIputD5e3ITKRNKmStoOHnw=; b=Dri86QyKtTCJq8cjHFWsq/8e48sUvDzngI4red+R4JIfV6nQKkRs5V9lZasnJ2PJf7 dw33Wallf5upC/EK8cqwlCHe7vBWlt9kfGfw6FkIW2/uJadBE6u1cPPWJa6JBtRN0RdT uaYYj356RjOYq1fCg2Djj8Yw8pA2ox5hnSbjWuBrrVpfyc1dOfe7QkrfKQWSGtfUaTl/ MWS+D+iOlUCYdP0HeWjZ1PPkH6asJ10qjxGVZtAx5ZGn1HOj9h3j4g5z5W2Mr8PQzUIA hCfbHwWcvIuyefGOPf/TVt537pF0xW05+rtj3vtgkdJJG1fzYrJoytnKx86egsddrJg6 gnJA== X-Gm-Message-State: ABuFfogJ2yH97xARTDVCkDt1m3MidwD/S641z0hALLbRJIMnAxB0uqEJ Zdvugb1XGICSsHQCZAsWP/c= X-Google-Smtp-Source: ACcGV63je6p0h39HbmALZo8CUkEm4THW2sRzdKHbRP7bQFY6+FiSejP4L2mYtt+/BXaQwpl9SYUPgg== X-Received: by 2002:a5d:4cc3:: with SMTP id c3-v6mr14842170wrt.75.1539604330447; Mon, 15 Oct 2018 04:52:10 -0700 (PDT) Received: from localhost ([2a01:4b00:f419:6f00:8361:8946:ba2b:d556]) by smtp.gmail.com with ESMTPSA id k1-v6sm9393954wrl.39.2018.10.15.04.52.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 15 Oct 2018 04:52:09 -0700 (PDT) From: Luca Boccassi To: Rasesh Mody Cc: dpdk stable Date: Mon, 15 Oct 2018 12:51:31 +0100 Message-Id: <20181015115144.27626-11-bluca@debian.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181015115144.27626-1-bluca@debian.org> References: <20181003162121.16364-1-bluca@debian.org> <20181015115144.27626-1-bluca@debian.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/bnx2x: fix to disable further interrupts' has been queued to LTS release 16.11.9 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Oct 2018 11:52:11 -0000 Hi, FYI, your patch has been queued to LTS release 16.11.9 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 10/17/18. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. If the code is different (ie: not only metadata diffs), due for example to a change in context or macro names, please double check it. Thanks. Luca Boccassi --- >>From 1e70ff7a4616ba0d58148a1d6b3dd5e3b41d19a9 Mon Sep 17 00:00:00 2001 From: Rasesh Mody Date: Sat, 29 Sep 2018 05:42:39 +0000 Subject: [PATCH] net/bnx2x: fix to disable further interrupts [ upstream commit 29822ca5cce2613e6de5b0972fc340e856f201c5 ] Fix to disable further fastpath/slowpath interrupts. These will be enabled again by their respective handlers Fixes: 540a211084a7 ("bnx2x: driver core") Signed-off-by: Rasesh Mody --- drivers/net/bnx2x/bnx2x.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/bnx2x/bnx2x.c b/drivers/net/bnx2x/bnx2x.c index 0e68108496..167b046ea9 100644 --- a/drivers/net/bnx2x/bnx2x.c +++ b/drivers/net/bnx2x/bnx2x.c @@ -4561,12 +4561,18 @@ int bnx2x_intr_legacy(struct bnx2x_softc *sc, int scan_fp) fp = &sc->fp[i]; mask = (0x2 << (fp->index + CNIC_SUPPORT(sc))); if (status & mask) { + /* acknowledge and disable further fastpath interrupts */ + bnx2x_ack_sb(sc, fp->igu_sb_id, USTORM_ID, + 0, IGU_INT_DISABLE, 0); bnx2x_handle_fp_tq(fp, scan_fp); status &= ~mask; } } if (unlikely(status & 0x1)) { + /* acknowledge and disable further slowpath interrupts */ + bnx2x_ack_sb(sc, sc->igu_dsb_id, USTORM_ID, + 0, IGU_INT_DISABLE, 0); rc = bnx2x_handle_sp_tq(sc); status &= ~0x1; } -- 2.19.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2018-10-15 12:48:34.903609135 +0100 +++ 0011-net-bnx2x-fix-to-disable-further-interrupts.patch 2018-10-15 12:48:34.561096017 +0100 @@ -1,13 +1,14 @@ -From 29822ca5cce2613e6de5b0972fc340e856f201c5 Mon Sep 17 00:00:00 2001 +From 1e70ff7a4616ba0d58148a1d6b3dd5e3b41d19a9 Mon Sep 17 00:00:00 2001 From: Rasesh Mody Date: Sat, 29 Sep 2018 05:42:39 +0000 Subject: [PATCH] net/bnx2x: fix to disable further interrupts +[ upstream commit 29822ca5cce2613e6de5b0972fc340e856f201c5 ] + Fix to disable further fastpath/slowpath interrupts. These will be enabled again by their respective handlers Fixes: 540a211084a7 ("bnx2x: driver core") -Cc: stable@dpdk.org Signed-off-by: Rasesh Mody --- @@ -15,10 +16,10 @@ 1 file changed, 6 insertions(+) diff --git a/drivers/net/bnx2x/bnx2x.c b/drivers/net/bnx2x/bnx2x.c -index 93f8586b55..0225bea9ae 100644 +index 0e68108496..167b046ea9 100644 --- a/drivers/net/bnx2x/bnx2x.c +++ b/drivers/net/bnx2x/bnx2x.c -@@ -4553,12 +4553,18 @@ int bnx2x_intr_legacy(struct bnx2x_softc *sc, int scan_fp) +@@ -4561,12 +4561,18 @@ int bnx2x_intr_legacy(struct bnx2x_softc *sc, int scan_fp) fp = &sc->fp[i]; mask = (0x2 << (fp->index + CNIC_SUPPORT(sc))); if (status & mask) {