bna: fix performance regression
authorIvan Vecera <ivecera@redhat.com>
Tue, 29 Jul 2014 14:29:30 +0000 (16:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Jul 2014 02:09:34 +0000 (19:09 -0700)
commitc36c9d50cc6af5c5bfcc195f21b73f55520c15f9
tree604e1af7914d0653510f4d2a69c28b152ec4c792
parent1f74e613ded11517db90b2bd57e9464d9e0fb161
bna: fix performance regression

The recent commit "e29aa33 bna: Enable Multi Buffer RX" is causing
a performance regression. It does not properly update 'cmpl' pointer
at the end of the loop in NAPI handler bnad_cq_process(). The result is
only one packet / per NAPI-schedule is processed.

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/brocade/bna/bnad.c