]> 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)
commit31d7da53a937ba183a03eca90b01ac6fd9a2af90
tree391444248c9f57bb5cbc4b73c15faad5ecafc239
parent6d54c1200598b66306cb26e38361fa6e5e655016
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