bnx2x: code doesn't use stats for allocating Rx BDs
authorDmitry Kravkov <dmitry@broadcom.com>
Mon, 12 Mar 2012 08:53:14 +0000 (08:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Mar 2012 00:10:50 +0000 (17:10 -0700)
commitf124488e4713dc9afa2028553261b1d399286e68
tree391444248c9f57bb5cbc4b73c15faad5ecafc239
parent241fb5d2b4205a523a50a85f9c312e1eda8ec53d
bnx2x: code doesn't use stats for allocating Rx BDs

Previously, allocation used queue statistics directly in its calcualtion.
This change causes these calculations to be summed into the statistics,
without being affected by them.

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h