aboutsummaryrefslogtreecommitdiff
path: root/drivers/base/firmware.c
diff options
context:
space:
mode:
authorJack Morgenstein <jackm@dev.mellanox.co.il>2007-07-17 18:37:38 -0700
committerRoland Dreier <rolandd@cisco.com>2007-07-17 18:37:38 -0700
commit1c27cb71aa7d86df0271caadfcc196a0518f5e33 (patch)
tree57f80f30c38fe8040944a6bad3c214db0cbe2f04 /drivers/base/firmware.c
parent586bb586ae59c473393c09291e86042d263c3ddd (diff)
IB/mlx4: Fix port returned from query QP for QPs in INIT state
When a QP is in the INIT state, the sched_queue field hasn't been given to the firmware yet, so the firmware cannot return the value when the QP is queried. To handle this, use the port number that is saved in the driver's QP data structure. Found by Dotan Barak and Yaron Gepstein of Mellanox. Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/base/firmware.c')
0 files changed, 0 insertions, 0 deletions