summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@dev.mellanox.co.il>2007-05-14 07:26:51 +0300
committerRoland Dreier <rolandd@cisco.com>2007-05-19 08:51:57 -0700
commit65adfa911a3522c1e40e55afd472dd571dc2431b (patch)
tree4e33f3eb290d63af8a1e011b68a05b579af2069e /init
parentb18aad7150c85cc86a66be8a1c744b63b41b36e0 (diff)
downloadkernel-crypto-65adfa911a3522c1e40e55afd472dd571dc2431b.tar.gz
kernel-crypto-65adfa911a3522c1e40e55afd472dd571dc2431b.tar.xz
kernel-crypto-65adfa911a3522c1e40e55afd472dd571dc2431b.zip
IB/mlx4: Fix RESET to RESET and RESET to ERROR transitions
According to the IB spec, a QP can be moved from RESET back to RESET or to the ERROR state, but mlx4 firmware does not support this and returns an error if we try. Fix the RESET to RESET transition by just returning 0 without doing anything, and fix RESET to ERROR by moving the QP from RESET to INIT with dummy parameters and then transitioning from INIT to ERROR. Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions