diff options
author | Yevgeny Petrilin <yevgenyp@mellanox.co.il> | 2009-05-24 05:17:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-25 09:35:53 +0200 |
commit | 38aab07c14adbf3c7257793d764a91923341e96a (patch) | |
tree | ac27575621410056b4ec970db6b233a50600d15b /kernel/panic.c | |
parent | mlx4_en: Removed redundant stride variable (diff) | |
download | linux-38aab07c14adbf3c7257793d764a91923341e96a.tar.xz linux-38aab07c14adbf3c7257793d764a91923341e96a.zip |
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>
Diffstat (limited to 'kernel/panic.c')
0 files changed, 0 insertions, 0 deletions