From: Roland Dreier Date: Mon, 13 Feb 2006 20:48:12 +0000 (-0800) Subject: IB: Add ib_modify_qp_is_ok() library function X-Git-Tag: v2.6.17-rc1~1180^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a51866f08103ba04894ce0f65eef567ddc3ed40;p=pandora-kernel.git 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 --- Reading git-diff-tree failed