diff options
author | Michael S. Tsirkin <mst@dev.mellanox.co.il> | 2007-05-14 04:26:51 (GMT) |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-05-19 15:51:57 (GMT) |
commit | 65adfa911a3522c1e40e55afd472dd571dc2431b (patch) | |
tree | 4e33f3eb290d63af8a1e011b68a05b579af2069e /drivers/net/mlx4/fw.c | |
parent | b18aad7150c85cc86a66be8a1c744b63b41b36e0 (diff) | |
download | linux-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 'drivers/net/mlx4/fw.c')
0 files changed, 0 insertions, 0 deletions