Yevgeny Petrilin 38aab07c14 mlx4_en: Fix partial rings feature
In case of allocation failure, the actual ring size is rounded down to
nearest power of 2. The remaining descriptors are freed.
The CQ and SRQ are allocated with the actual size and the mask is updated.

Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-05-25 00:35:53 -07:00
..
2009-03-18 19:45:11 -07:00
2009-05-25 00:35:53 -07:00
2009-05-25 00:35:53 -07:00
2009-05-25 00:35:53 -07:00
2009-03-18 19:45:11 -07:00
2008-10-22 15:38:42 -07:00
2009-03-18 19:45:11 -07:00
2009-03-18 19:45:11 -07:00
2009-01-15 20:43:56 -08:00