diff options
author | Roland Dreier <rolandd@cisco.com> | 2007-06-07 23:24:39 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-06-07 23:24:39 -0700 |
commit | a4cd7ed86ff511aebcc97675937039f2321d6987 (patch) | |
tree | 1fdcec754e2086a0f67022c967d55fab12f7aec4 /drivers/mca | |
parent | bf2944bd56c7a48cc3962a860dbc4ceee6b1ace8 (diff) |
IB/mlx4: Make sure RQ allocation is always valid
QPs attached to an SRQ must never have their own RQ, and QPs not
attached to SRQs must have an RQ with at least 1 entry. Enforce all
of this in set_rq_size().
Based on a patch by Eli Cohen <eli@mellanox.co.il>.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/mca')
0 files changed, 0 insertions, 0 deletions