cnic: Fix interrupt logic
authorMichael Chan <mchan@broadcom.com>
Wed, 8 Jun 2011 19:29:32 +0000 (19:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Jun 2011 06:52:36 +0000 (23:52 -0700)
commit93736656138e6d2f39f19c1d68f9ef81cfc9dd66
treec5ff0e79d7ed67bb8078c5b32e2db35b89125a9a
parent2b77bdde97ae8241dcc23110a4e837acfbc83438
cnic: Fix interrupt logic

We need to keep looping until cnic_get_kcqes() returns 0.  cnic_get_kcqes()
returns a maximum of 64 entries.  If there are more entries in the queue
and we don't loop back, the remaining entries may not be serviced for a
long time.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cnic.c