scsi: mpt3sas: Introduce Base function for cloning.
All scsi IO's and config request's data buffer and sgl are cloned to system memory in _clone_sg_entries before submitting it to firmware. Signed-off-by: Suganath Prabu S <suganath-prabu.subramani@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:

committed by
Martin K. Petersen

parent
22ae5a3c25
commit
182ac784b4
@@ -219,6 +219,7 @@ _config_alloc_config_dma_memory(struct MPT3SAS_ADAPTER *ioc,
|
||||
mem->page = ioc->config_page;
|
||||
mem->page_dma = ioc->config_page_dma;
|
||||
}
|
||||
ioc->config_vaddr = mem->page;
|
||||
return r;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user