diff options
author | Roland Dreier <rolandd@cisco.com> | 2006-02-13 12:48:12 -0800 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-03-20 10:08:12 -0800 |
commit | 8a51866f08103ba04894ce0f65eef567ddc3ed40 (patch) | |
tree | 39af79ce5995900c14610acc768850a749961ee9 /block/ll_rw_blk.c | |
parent | 3fa1fa3e809dc009a080ca9f052cee2e17836c63 (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 'block/ll_rw_blk.c')
0 files changed, 0 insertions, 0 deletions