]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerJoe Jin <joe.jin@oracle.com>
Tue, 28 Aug 2012 07:23:21 +0000 (15:23 +0800)
commit531c5713f745cc90cd5151164ab3626942d02317
tree2afd94eaf7115c99f43d30029063192ad8e2d230
parente9878924ecce6b22460a7015aea7d2e2a4691d7f
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.

(cherry picked from commit f124488e4713dc9afa2028553261b1d399286e68)
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>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/bnx2x/bnx2x_cmn.h