bnx2x, cnic: Fix SPQ return credit
authorDmitry Kravkov <dmitry@broadcom.com>
Wed, 6 Oct 2010 03:33:18 +0000 (03:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Oct 2010 21:10:40 +0000 (14:10 -0700)
commitc2bff63fad94eeecf59e4ba8e4cb51688ccae1ec
tree677c59a6a9c3a37a569c14cf55c305d63c20b8c4
parentd6214d7aaa9a82b206dac9e3b0665c49c522a271
bnx2x, cnic: Fix SPQ return credit

Return proper L2 and L5 SPQ (slow path queue) credits.  Previously, all
SPQ events were counted as L5 types.

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x/bnx2x_cmn.c
drivers/net/bnx2x/bnx2x_main.c
drivers/net/cnic.c
drivers/net/cnic_if.h