]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
qed: Disable "MFW indication via attention" SPAM every 5 minutes
authorLaurence Oberman <loberman@redhat.com>
Tue, 14 Jul 2020 22:08:05 +0000 (18:08 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Aug 2020 07:58:48 +0000 (09:58 +0200)
[ Upstream commit 1d61e21852d3161f234b9656797669fe185c251b ]

This is likely firmware causing this but its starting to annoy customers.
Change the message level to verbose to prevent the spam.
Note that this seems to only show up with ISCSI enabled on the HBA via the
qedi driver.

Signed-off-by: Laurence Oberman <loberman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/qlogic/qed/qed_int.c

index 8d106063e92756e8890aca1ea2a3f480501e35d1..666e43748a5f4eb7c9c65aaa20e72f0ba9cafca3 100644 (file)
@@ -1180,7 +1180,8 @@ static int qed_int_attentions(struct qed_hwfn *p_hwfn)
                        index, attn_bits, attn_acks, asserted_bits,
                        deasserted_bits, p_sb_attn_sw->known_attn);
        } else if (asserted_bits == 0x100) {
-               DP_INFO(p_hwfn, "MFW indication via attention\n");
+               DP_VERBOSE(p_hwfn, NETIF_MSG_INTR,
+                          "MFW indication via attention\n");
        } else {
                DP_VERBOSE(p_hwfn, NETIF_MSG_INTR,
                           "MFW indication [deassertion]\n");