summaryrefslogtreecommitdiff
path: root/include/asm-ia64/uaccess.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@dev.mellanox.co.il>2007-05-14 04:26:51 (GMT)
committerRoland Dreier <rolandd@cisco.com>2007-05-19 15:51:57 (GMT)
commit65adfa911a3522c1e40e55afd472dd571dc2431b (patch)
tree4e33f3eb290d63af8a1e011b68a05b579af2069e /include/asm-ia64/uaccess.h
parentb18aad7150c85cc86a66be8a1c744b63b41b36e0 (diff)
downloadlinux-65adfa911a3522c1e40e55afd472dd571dc2431b.tar.xz
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 'include/asm-ia64/uaccess.h')
0 files changed, 0 insertions, 0 deletions