mlx4_en: Setting actual RX ring size
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Tue, 24 Aug 2010 03:45:20 +0000 (03:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Aug 2010 21:54:47 +0000 (14:54 -0700)
commit00d7d7bc6e886ef48af6ed766eb12b8cec241d35
tree9fd96c64407a9e1f2abaf72fd03cd573192883a1
parent69351a2933428515b31fe54100f90a669cbbd384
mlx4_en: Setting actual RX ring size

When configuring HW resources, the RX ring size that is passed should be the actual
size that depends on number of buffers that we succeeded to allocate.
The mask for ring size should also be configured accordingly

Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mlx4/en_rx.c