]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita19eac9894907f774da25bf3410cec7d499bfb12
tree9fd96c64407a9e1f2abaf72fd03cd573192883a1
parent44be89cc417e8f71ef01d0681e15a7adece60497
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