]> git.ipfire.org Git - people/ms/linux.git/commit
bna: fix interrupts storm caused by erroneous packets
authorIvan Vecera <ivecera@redhat.com>
Thu, 6 Aug 2015 20:48:23 +0000 (22:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Oct 2015 09:36:24 +0000 (11:36 +0200)
commitf7600bc155c49ec97830743b4b91288858d01d2d
treeffa91d401a5858aa5ca4a6ab2192513f18afd351
parente602c012fd2d30cba979bc5b51bc3e5b52cc9065
bna: fix interrupts storm caused by erroneous packets

[ 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.

Fixes: e29aa33 ("bna: Enable Multi Buffer RX")
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Acked-by: Rasesh Mody <rasesh.mody@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/brocade/bna/bnad.c