]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Mar 2012 00:10:50 +0000 (17:10 -0700)
commit6bd7de11dbbba665a61297f06a6ca9df3bc88de2
tree391444248c9f57bb5cbc4b73c15faad5ecafc239
parent312470693b9acc139439fd4d6c3921daa7893b8e
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