]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: fix ring size for 10G functions
authorYuval Mintz <yuvalmin@broadcom.com>
Wed, 3 Oct 2012 04:22:59 +0000 (04:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Oct 2012 20:34:15 +0000 (16:34 -0400)
commite2b9e845b97d3327370b322dd87a61d8f3d57e79
tree8f1550c02340e4616d80a931491ae696575acea8
parent4136c9a38f0865b12cf35c04ca2220eb2e898095
bnx2x: fix ring size for 10G functions

Commit c4b86a2f23e0d2d1bb7f45d19c6aef8e69563a0a caused
1G functions to allocate rx rings which were 1/10 of the
size of 10G functions' rx rings.

However, it also caused 10G functions on 5771x boards to
allocate small rings, which limits their possible (default)
rx throughput. This patch causes all 10G functions to use
rings of intended length by default.

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Ariel Elior <ariele@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.c