Skip to content

Commit a74ec14

Browse files
Mike HernandezJames Bottomley
authored andcommitted
[SCSI] qla2xxx: Include request queue ID in the upper 16-bits of the I/O handle for Abort I/O IOCBs.
The upper 16-bits of the handle for all I/O in multi-queue supported drivers carries the ID of the request queue it was submitted on. When using Abort I/O IOCB, the driver needs to also populate the upper 16-bits in the handle_to_abort field so the fw can correlate with the actual I/O. Signed-off-by: Mike Hernandez <michael.hernandez@qlogic.com> Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
1 parent 3e8bb84 commit a74ec14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/scsi/qla2xxx/qla_mbx.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2362,7 +2362,7 @@ qla24xx_abort_command(srb_t *sp)
23622362
abt->entry_count = 1;
23632363
abt->handle = MAKE_HANDLE(req->id, abt->handle);
23642364
abt->nport_handle = cpu_to_le16(fcport->loop_id);
2365-
abt->handle_to_abort = handle;
2365+
abt->handle_to_abort = MAKE_HANDLE(req->id, handle);
23662366
abt->port_id[0] = fcport->d_id.b.al_pa;
23672367
abt->port_id[1] = fcport->d_id.b.area;
23682368
abt->port_id[2] = fcport->d_id.b.domain;

0 commit comments

Comments
 (0)