summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mthca/mthca_cmd.h
diff options
context:
space:
mode:
authorRoland Dreier2006-02-13 21:48:12 +0100
committerRoland Dreier2006-03-20 19:08:12 +0100
commit8a51866f08103ba04894ce0f65eef567ddc3ed40 (patch)
tree39af79ce5995900c14610acc768850a749961ee9 /drivers/infiniband/hw/mthca/mthca_cmd.h
parentIB/mthca: Generate SQ drained events when requested (diff)
downloadkernel-qcow2-linux-8a51866f08103ba04894ce0f65eef567ddc3ed40.tar.gz
kernel-qcow2-linux-8a51866f08103ba04894ce0f65eef567ddc3ed40.tar.xz
kernel-qcow2-linux-8a51866f08103ba04894ce0f65eef567ddc3ed40.zip
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 'drivers/infiniband/hw/mthca/mthca_cmd.h')
0 files changed, 0 insertions, 0 deletions