diff options
author | Jack Morgenstein <jackm@mellanox.co.il> | 2006-03-20 12:35:34 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-03-24 15:47:27 -0800 |
commit | ded9ad721d220d47989177076a181ae1f1b93af5 (patch) | |
tree | 4cd58fe6bccaaa133fbba3f22729dda3e6cb213f /lib/kobject_uevent.c | |
parent | 0ef61db837c93d4377fabd37182bb6f83ea5ca70 (diff) |
IB/mthca: Check that SRQ WQE size does not exceed device's max value
Guarantee the calculated work queue entry size does not exceed the max
allowable WQE size when creating an SRQ. This is a problem with Arbel
in Tavor-compatibility mode because the current WQE size computation
method rounds up to next power of 2.
Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'lib/kobject_uevent.c')
0 files changed, 0 insertions, 0 deletions