Patch "bna: fix interrupts storm caused by erroneous packets" has been added to the 3.14-stable tree
This is a note to let you know that I've just added the patch titled
bna: fix interrupts storm caused by erroneous packets
to the 3.14-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
bna-fix-interrupts-storm-caused-by-erroneous-packets.patch
and it can be found in the queue-3.14 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Sat Sep 26 11:19:08 PDT 2015
From: Ivan Vecera <[email protected]>
Date: Thu, 6 Aug 2015 22:48:23 +0200
Subject: bna: fix interrupts storm caused by erroneous packets
From: Ivan Vecera <[email protected]>
[ Upstream commit ade4dc3e616e33c80d7e62855fe1b6f9895bc7c3 ]
The commit "e29aa33 bna: Enable Multi Buffer RX" moved packets counter increment from the beginning of the NAPI processing loop after the check for erroneous packets so they are never accounted. This counter is used to inform firmware about number of processed completions (packets). As these packets are never acked the firmware fires IRQs for them again and again.
--- drivers/net/ethernet/brocade/bna/bnad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/brocade/bna/bnad.c +1 -1
@@ -674,6 +674,7 @@ bnad_cq_process(struct bnad *bnad, strucif (!next_cmpl->valid)break ; } + packets++;/* TODO: BNA_CQ_EF_LOCAL ? */ if (unlikely(flags & (BNA_CQ_EF_MAC_ERROR |
@@ -690,7 +691,6 @@ bnad_cq_process(struct bnad *bnad, strucelse bnad_cq_setup_skb_frags (rcb, skb, sop_ci, nvecs, len); - packets++; rcb->rxq->rx_packets++; rcb->rxq->rx_bytes += totlen; ccb->bytes_per_intr += totlen;
Patches currently in stable-queue which might be from [email protected] are
queue-3.14/bna-fix-interrupts-storm-caused-by-erroneous-packets.patch