hisi_sas: use slot abort in v1 hw
authorJohn Garry <john.garry@huawei.com>
Thu, 25 Feb 2016 09:42:12 +0000 (17:42 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 1 Mar 2016 02:00:03 +0000 (21:00 -0500)
commit91b2bb92fe3aec35c7557d523b272410bc05e179
tree261566a50d342b38ec2722ed1390a73c73cdfad2
parentcac9b2a21789b7354b0e616892c7d193e8167277
hisi_sas: use slot abort in v1 hw

When TRANS_TX_CREDIT_TIMEOUT_ERR or
TRANS_TX_CLOSE_NORMAL_ERR error occur in
a slot, the command should be re-attempted.
This error is equivalent to meaning that the queue
is full in the sdev (and not the host).

Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c