diff options
| author | 2006-02-13 12:48:12 -0800 | |
|---|---|---|
| committer | 2006-03-20 10:08:12 -0800 | |
| commit | 8a51866f08103ba04894ce0f65eef567ddc3ed40 (patch) | |
| tree | 39af79ce5995900c14610acc768850a749961ee9 /scripts | |
| parent | IB/mthca: Generate SQ drained events when requested (diff) | |
IB: Add ib_modify_qp_is_ok() library function
The in-kernel mthca driver contains a table of which attributes are
valid for each queue pair state transition. It turns out that both
other IB drivers -- ipath and ehca -- which are being prepared for
merging have copied this table, errors and all.
To forestall this code duplication, move this table and the code to
check parameters against it into a midlayer library function,
ib_modify_qp_is_ok().
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
