linux/drivers/scsi/hisi_sas
Xiang Chen 435a05cf8c scsi: hisi_sas: Assign NCQ tag for all NCQ commands
Currently the NCQ tag is only assigned for FPDMA READ and FPDMA WRITE
commands, and for other NCQ commands (such as FPDMA SEND), their NCQ tags
are set in the delivery command to 0.

So for all the NCQ commands, we also need to assign normal NCQ tag for
them, so drop the command type check in hisi_sas_get_ncq_tag() [drop
hisi_sas_get_ncq_tag() altogether actually], and always use the ATA command
NCQ tag when appropriate.

Link: https://lore.kernel.org/r/1567774537-20003-8-git-send-email-john.garry@huawei.com
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-09-10 22:28:56 -04:00
..
hisi_sas_main.c scsi: hisi_sas: Assign NCQ tag for all NCQ commands 2019-09-10 22:28:56 -04:00
hisi_sas_v1_hw.c scsi: hisi_sas: remove set but not used variable 'irq_value' 2019-08-29 18:01:58 -04:00
hisi_sas_v2_hw.c scsi: hisi_sas: Assign NCQ tag for all NCQ commands 2019-09-10 22:28:56 -04:00
hisi_sas_v3_hw.c scsi: hisi_sas: Assign NCQ tag for all NCQ commands 2019-09-10 22:28:56 -04:00
hisi_sas.h scsi: hisi_sas: Assign NCQ tag for all NCQ commands 2019-09-10 22:28:56 -04:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00