mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-08 15:36:40 +07:00
[SCSI] megaraid_sas: Set IoFlags to enable Fast Path for JBODs for 12 Gb/s controllers
Signed-off-by: Sumit Saxena <sumit.saxena@lsi.com> Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:
parent
39b72c3c74
commit
5d0d908d44
@ -1592,6 +1592,10 @@ megasas_build_dcdb_fusion(struct megasas_instance *instance,
|
|||||||
io_request->RaidContext.RAIDFlags =
|
io_request->RaidContext.RAIDFlags =
|
||||||
MR_RAID_FLAGS_IO_SUB_TYPE_SYSTEM_PD <<
|
MR_RAID_FLAGS_IO_SUB_TYPE_SYSTEM_PD <<
|
||||||
MR_RAID_CTX_RAID_FLAGS_IO_SUB_TYPE_SHIFT;
|
MR_RAID_CTX_RAID_FLAGS_IO_SUB_TYPE_SHIFT;
|
||||||
|
if ((instance->pdev->device == PCI_DEVICE_ID_LSI_INVADER) ||
|
||||||
|
(instance->pdev->device == PCI_DEVICE_ID_LSI_FURY))
|
||||||
|
io_request->IoFlags |=
|
||||||
|
MPI25_SAS_DEVICE0_FLAGS_ENABLED_FAST_PATH;
|
||||||
cmd->request_desc->SCSIIO.RequestFlags =
|
cmd->request_desc->SCSIIO.RequestFlags =
|
||||||
(MPI2_REQ_DESCRIPT_FLAGS_HIGH_PRIORITY <<
|
(MPI2_REQ_DESCRIPT_FLAGS_HIGH_PRIORITY <<
|
||||||
MEGASAS_REQ_DESCRIPT_FLAGS_TYPE_SHIFT);
|
MEGASAS_REQ_DESCRIPT_FLAGS_TYPE_SHIFT);
|
||||||
|
Loading…
Reference in New Issue
Block a user